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.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-mfd-rewrites --enable-shared --enable-static --with-endianness=little --with-logfile=/var/log/snmpd.log --with-persistent-directory=/usr/lib/snmp/ --with-default-snmp-version=1 --with-sys-contact=root@localhost --with-sys-location=Unknown --enable-applications --disable-debugging --disable-manuals --disable-scripts --with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities --with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute --with-out-transports=TCP TCPIPv6 --with-transports=Callback UDP Unix UDPIPv6 --without-openssl --without-libwrap --without-mysql --without-rpm --without-zlib --with-pcre2-8 --with-nl --enable-ipv6 --disable-perl-cc-checks --disable-embedded-perl --without-perl-modules ## --------- ## ## Platform. ## ## --------- ## hostname = anneke uname -m = x86_64 uname -r = 5.15.177-gentoo uname -s = Linux uname -v = #1 SMP Sun Feb 2 18:15:35 CET 2025 /usr/bin/uname -p = AMD Ryzen 7 5700G with Radeon Graphics /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/host/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/hostpkg/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin PATH: /home/duvi/.nvm/versions/node/v8.9.4/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /var/qmail/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:3228: loading site script /mnt/gold/openwrt/openwrt_2203/include/site/arm | #!/bin/sh | . $TOPDIR/include/site/linux | ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} | ac_cv_c_bigendian=${ac_cv_c_bigendian=no} | | ac_cv_sizeof___int64=0 | ac_cv_sizeof_char=1 | ac_cv_sizeof_int=4 | ac_cv_sizeof_int16_t=2 | ac_cv_sizeof_int32_t=4 | ac_cv_sizeof_int64_t=8 | ac_cv_sizeof_long_int=4 | ac_cv_sizeof_long_long=8 | ac_cv_sizeof_long=4 | ac_cv_sizeof_off_t=8 | ac_cv_sizeof_short_int=2 | ac_cv_sizeof_short=2 | ac_cv_sizeof_size_t=4 | ac_cv_sizeof_ssize_t=4 | ac_cv_sizeof_u_int16_t=2 | ac_cv_sizeof_u_int32_t=4 | ac_cv_sizeof_u_int64_t=8 | ac_cv_sizeof_uint16_t=2 | ac_cv_sizeof_uint32_t=4 | ac_cv_sizeof_uint64_t=8 | ac_cv_sizeof_unsigned_int=4 | ac_cv_sizeof_unsigned_long=4 | ac_cv_sizeof_unsigned_long_long=8 | ac_cv_sizeof_unsigned_short=2 | ac_cv_sizeof_void_p=4 configure:3358: checking for arm-openwrt-linux-gcc configure:3385: result: arm-openwrt-linux-muslgnueabi-gcc configure:3654: checking for C compiler version configure:3663: arm-openwrt-linux-muslgnueabi-gcc --version >&5 arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r20231-1fa6b2639c) 11.2.0 Copyright (C) 2021 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: arm-openwrt-linux-muslgnueabi-gcc -v >&5 Reading specs from /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/specs COLLECT_GCC=arm-openwrt-linux-muslgnueabi-gcc COLLECT_LTO_WRAPPER=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/libexec/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/lto-wrapper Target: arm-openwrt-linux-muslgnueabi Configured with: /mnt/gold/openwrt/openwrt_2203/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/gcc-11.2.0/configure --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion='OpenWrt GCC 11.2.0 r20231-1fa6b2639c' --prefix=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-openwrt-linux-muslgnueabi --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-libmpx --disable-nls --disable-libssp --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-gmp=/mnt/gold/openwrt/openwrt_2203/staging_dir/host --with-mpfr=/mnt/gold/openwrt/openwrt_2203/staging_dir/host --with-mpc=/mnt/gold/openwrt/openwrt_2203/staging_dir/host --disable-decimal-float --with-diagnostics-color=auto-if-env --enable-__cxa_atexit --disable-libstdcxx-dual-abi --with-default-libstdcxx-abi=new --with-cpu=cortex-a7 --with-fpu=neon-vfpv4 --with-float=hard --with-headers=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib --enable-lto --with-libelf=/mnt/gold/openwrt/openwrt_2203/staging_dir/host --disable-libsanitizer Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.2.0 (OpenWrt GCC 11.2.0 r20231-1fa6b2639c) configure:3674: $? = 0 configure:3663: arm-openwrt-linux-muslgnueabi-gcc -V >&5 arm-openwrt-linux-muslgnueabi-gcc: error: unrecognized command-line option '-V' arm-openwrt-linux-muslgnueabi-gcc: fatal error: no input files compilation terminated. configure:3674: $? = 1 configure:3663: arm-openwrt-linux-muslgnueabi-gcc -qversion >&5 arm-openwrt-linux-muslgnueabi-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? arm-openwrt-linux-muslgnueabi-gcc: fatal error: no input files compilation terminated. configure:3674: $? = 1 configure:3694: checking whether the C compiler works configure:3716: arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&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: arm-openwrt-linux-muslgnueabi-gcc -o conftest -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&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: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:3903: $? = 0 configure:3924: result: o configure:3928: checking whether we are using the GNU C compiler configure:3947: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:3947: $? = 0 configure:3956: result: yes configure:3965: checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g configure:3985: arm-openwrt-linux-muslgnueabi-gcc -c -g -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:3985: $? = 0 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4000: arm-openwrt-linux-muslgnueabi-gcc -c -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4000: $? = 0 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4016: arm-openwrt-linux-muslgnueabi-gcc -c -g -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4016: $? = 0 configure:4026: result: yes configure:4043: checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89 configure:4106: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4106: $? = 0 configure:4119: result: none needed configure:4145: checking how to run the C preprocessor configure:4176: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:4176: $? = 0 configure:4190: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4190: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | /* end confdefs.h. */ | #include configure:4215: result: arm-openwrt-linux-muslgnueabi-gcc -E configure:4235: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:4235: $? = 0 configure:4249: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny 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.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | /* end confdefs.h. */ | #include configure:4278: checking for grep that handles long lines and -e configure:4336: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep configure:4341: checking for egrep configure:4403: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -E configure:4408: checking for ANSI C header files configure:4428: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4428: $? = 0 configure:4512: result: yes configure:4525: checking for sys/types.h configure:4525: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for sys/stat.h configure:4525: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for stdlib.h configure:4525: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for string.h configure:4525: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for memory.h configure:4525: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for strings.h configure:4525: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for inttypes.h configure:4525: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for stdint.h configure:4525: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for unistd.h configure:4525: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4538: checking minix/config.h usability configure:4538: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny 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.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny 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.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:4577: $? = 0 configure:4584: result: yes configure:4654: WARNING: --with-endianness is obsolete configure:5072: checking what to build and install configure:5074: result: agent apps mibs configure:5462: result: using default persistent mask 077 configure:5501: result: using default temporary file pattern /tmp/snmpdXXXXXX configure:5932: result: using default AgentX socket /var/agentx/master configure:6284: result: using default "enterprise.net-snmp" configure:6322: result: using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..." configure:6360: result: using default notifications "NET-SNMP-MIB::netSnmpNotifications" configure:6466: result: using OS default send buffer size for server sockets configure:6488: result: using OS default recv buffer size for server sockets configure:6510: result: using OS default send buffer size for client sockets configure:6532: result: using OS default recv buffer size for client sockets configure:6715: checking Default version of SNMP to use configure:6758: result: 1 configure:6786: checking System Contact Information configure:6820: result: root@localhost configure:6839: checking System Location configure:6872: result: Unknown configure:6897: checking Location to write logfile configure:6931: result: /var/log/snmpd.log configure:6958: checking Location to write persistent information configure:6996: result: /usr/lib/snmp/ configure:7074: checking if I need to feed myself to ksh configure:7090: result: no configure:7099: checking for egrep configure:7161: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -E configure:7166: checking for grep that handles long lines and -e configure:7224: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep configure:7272: checking for a BSD-compatible install configure:7340: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/install -c configure:7351: checking whether ln -s works configure:7355: result: yes configure:7362: checking whether make sets $(MAKE) configure:7384: result: yes configure:7393: checking for a sed that does not truncate output configure:7457: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/sed configure:7467: checking for file configure:7483: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/file configure:7494: result: file configure:7518: checking for find configure:7534: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/find configure:7545: result: find configure:7560: checking for whoami configure:7576: found /usr/bin/whoami configure:7587: result: whoami configure:7602: checking for autoconf configure:7620: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoconf configure:7633: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoconf configure:7643: checking for autoheader configure:7661: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoheader configure:7674: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoheader configure:7684: checking for perl configure:7702: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/perl configure:7714: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/perl configure:7724: checking for ps configure:7742: found /bin/ps configure:7754: result: /bin/ps configure:7764: checking for python3 configure:7782: found /mnt/gold/openwrt/openwrt_2203/staging_dir/hostpkg/bin/python3 configure:7794: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/hostpkg/bin/python3 configure:7805: checking for uname configure:7823: found /usr/bin/uname configure:7835: result: /usr/bin/uname configure:7862: checking whether the Perl function system() invokes a POSIX shell configure:7869: result: yes configure:7892: checking for arm-openwrt-linux-gcc configure:7919: result: arm-openwrt-linux-muslgnueabi-gcc configure:8188: checking for C compiler version configure:8197: arm-openwrt-linux-muslgnueabi-gcc --version >&5 arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r20231-1fa6b2639c) 11.2.0 Copyright (C) 2021 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:8208: $? = 0 configure:8197: arm-openwrt-linux-muslgnueabi-gcc -v >&5 Reading specs from /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/specs COLLECT_GCC=arm-openwrt-linux-muslgnueabi-gcc COLLECT_LTO_WRAPPER=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/libexec/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/lto-wrapper Target: arm-openwrt-linux-muslgnueabi Configured with: /mnt/gold/openwrt/openwrt_2203/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/gcc-11.2.0/configure --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion='OpenWrt GCC 11.2.0 r20231-1fa6b2639c' --prefix=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-openwrt-linux-muslgnueabi --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-libmpx --disable-nls --disable-libssp --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-gmp=/mnt/gold/openwrt/openwrt_2203/staging_dir/host --with-mpfr=/mnt/gold/openwrt/openwrt_2203/staging_dir/host --with-mpc=/mnt/gold/openwrt/openwrt_2203/staging_dir/host --disable-decimal-float --with-diagnostics-color=auto-if-env --enable-__cxa_atexit --disable-libstdcxx-dual-abi --with-default-libstdcxx-abi=new --with-cpu=cortex-a7 --with-fpu=neon-vfpv4 --with-float=hard --with-headers=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib --enable-lto --with-libelf=/mnt/gold/openwrt/openwrt_2203/staging_dir/host --disable-libsanitizer Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.2.0 (OpenWrt GCC 11.2.0 r20231-1fa6b2639c) configure:8208: $? = 0 configure:8197: arm-openwrt-linux-muslgnueabi-gcc -V >&5 arm-openwrt-linux-muslgnueabi-gcc: error: unrecognized command-line option '-V' arm-openwrt-linux-muslgnueabi-gcc: fatal error: no input files compilation terminated. configure:8208: $? = 1 configure:8197: arm-openwrt-linux-muslgnueabi-gcc -qversion >&5 arm-openwrt-linux-muslgnueabi-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? arm-openwrt-linux-muslgnueabi-gcc: fatal error: no input files compilation terminated. configure:8208: $? = 1 configure:8212: checking whether we are using the GNU C compiler configure:8240: result: yes configure:8249: checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g configure:8310: result: yes configure:8327: checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89 configure:8403: result: none needed configure:8428: checking how to run the C preprocessor configure:8498: result: arm-openwrt-linux-muslgnueabi-gcc -E configure:8518: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:8518: $? = 0 configure:8532: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:42:10: fatal error: ac_nonexistent.h: No such file or directory 42 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:8532: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | /* end confdefs.h. */ | #include configure:8563: checking for an ANSI C-conforming const configure:8629: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:8629: $? = 0 configure:8636: result: yes configure:8644: checking for inline configure:8660: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:8660: $? = 0 configure:8668: result: inline configure:8719: checking build system type configure:8733: result: x86_64-pc-linux-gnu configure:8753: checking host system type configure:8766: result: arm-openwrt-linux-gnu configure:8807: checking how to print strings configure:8834: result: printf configure:8855: checking for a sed that does not truncate output configure:8919: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/sed configure:8936: checking for fgrep configure:8998: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -F configure:9033: checking for ld used by arm-openwrt-linux-muslgnueabi-gcc configure:9100: result: arm-openwrt-linux-muslgnueabi-ld configure:9107: checking if the linker (arm-openwrt-linux-muslgnueabi-ld) is GNU ld configure:9122: result: yes configure:9134: checking for BSD- or MS-compatible name lister (nm) configure:9183: result: arm-openwrt-linux-muslgnueabi-gcc-nm configure:9313: checking the name lister (arm-openwrt-linux-muslgnueabi-gcc-nm) interface configure:9320: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:9323: arm-openwrt-linux-muslgnueabi-gcc-nm "conftest.o" configure:9326: output 00000000 B some_variable configure:9333: result: BSD nm configure:9337: checking the maximum length of command line arguments configure:9467: result: 1572864 configure:9484: checking whether the shell understands some XSI constructs configure:9494: result: yes configure:9498: checking whether the shell understands "+=" configure:9504: result: yes configure:9539: checking how to convert x86_64-pc-linux-gnu file names to arm-openwrt-linux-gnu format configure:9579: result: func_convert_file_noop configure:9586: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:9606: result: func_convert_file_noop configure:9613: checking for arm-openwrt-linux-muslgnueabi-ld option to reload object files configure:9620: result: -r configure:9654: checking for arm-openwrt-linux-objdump configure:9681: result: arm-openwrt-linux-muslgnueabi-objdump configure:9750: checking how to recognize dependent libraries configure:9952: result: pass_all configure:9997: checking for arm-openwrt-linux-dlltool configure:10027: result: no configure:10037: checking for dlltool configure:10067: result: no configure:10094: checking how to associate runtime and link libraries configure:10121: result: printf %s\n configure:10137: checking for arm-openwrt-linux-ar configure:10164: result: arm-openwrt-linux-muslgnueabi-gcc-ar configure:10245: checking for archiver @FILE support configure:10262: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:10262: $? = 0 configure:10265: arm-openwrt-linux-muslgnueabi-gcc-ar cru libconftest.a @conftest.lst >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U') configure:10268: $? = 0 configure:10273: arm-openwrt-linux-muslgnueabi-gcc-ar cru libconftest.a @conftest.lst >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U') /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: conftest.o: No such file or directory configure:10276: $? = 1 configure:10288: result: @ configure:10306: checking for arm-openwrt-linux-strip configure:10333: result: arm-openwrt-linux-muslgnueabi-strip configure:10405: checking for arm-openwrt-linux-ranlib configure:10432: result: arm-openwrt-linux-muslgnueabi-gcc-ranlib configure:10549: checking for gawk configure:10565: found /usr/bin/gawk configure:10576: result: gawk configure:10615: checking command to parse arm-openwrt-linux-muslgnueabi-gcc-nm output from arm-openwrt-linux-muslgnueabi-gcc object configure:10735: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:10738: $? = 0 configure:10742: arm-openwrt-linux-muslgnueabi-gcc-nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:10745: $? = 0 configure:10811: arm-openwrt-linux-muslgnueabi-gcc -o conftest -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c conftstm.o >&5 configure:10814: $? = 0 configure:10852: result: ok configure:10889: checking for sysroot configure:10919: result: no configure:11135: checking for arm-openwrt-linux-mt configure:11165: result: no configure:11175: checking for mt configure:11205: result: no configure:11225: checking if : is a manifest tool configure:11231: : '-?' configure:11239: result: no configure:11878: checking for dlfcn.h configure:11878: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:11878: $? = 0 configure:11878: result: yes configure:12382: checking for objdir configure:12397: result: .libs configure:12667: checking if arm-openwrt-linux-muslgnueabi-gcc supports -fno-rtti -fno-exceptions configure:12685: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -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:12689: $? = 0 configure:12702: result: no configure:13029: checking for arm-openwrt-linux-muslgnueabi-gcc option to produce PIC configure:13036: result: -fPIC -DPIC configure:13044: checking if arm-openwrt-linux-muslgnueabi-gcc PIC flag -fPIC -DPIC works configure:13062: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -fPIC -DPIC -DPIC conftest.c >&5 configure:13066: $? = 0 configure:13079: result: yes configure:13108: checking if arm-openwrt-linux-muslgnueabi-gcc static flag -static works configure:13136: result: yes configure:13151: checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o configure:13172: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -o out/conftest2.o conftest.c >&5 configure:13176: $? = 0 configure:13198: result: yes configure:13206: checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o configure:13253: result: yes configure:13286: checking whether the arm-openwrt-linux-muslgnueabi-gcc linker (arm-openwrt-linux-muslgnueabi-ld) supports shared libraries configure:14439: result: yes configure:14476: checking whether -lc should be explicitly linked in configure:14484: arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:14487: $? = 0 configure:14502: arm-openwrt-linux-muslgnueabi-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -lc \>/dev/null 2\>\&1 configure:14505: $? = 0 configure:14519: result: no configure:14679: checking dynamic linker characteristics configure:15190: arm-openwrt-linux-muslgnueabi-gcc -o conftest -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -Wl,-rpath -Wl,/foo conftest.c >&5 configure:15190: $? = 0 configure:15412: result: GNU/Linux ld.so configure:15519: checking how to hardcode library paths into programs configure:15544: result: immediate configure:16084: checking whether stripping libraries is possible configure:16089: result: yes configure:16124: checking if libtool supports shared libraries configure:16126: result: yes configure:16129: checking whether to build shared libraries configure:16150: result: yes configure:16153: checking whether to build static libraries configure:16157: result: yes configure:16197: checking for arm-openwrt-linux-windres configure:16227: result: no configure:16237: checking for windres configure:16267: result: no configure:16480: checking target system type configure:16493: result: arm-openwrt-linux-gnu configure:16549: checking whether the linker supports -Wl,-no-undefined configure:16563: arm-openwrt-linux-muslgnueabi-gcc -o conftest -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -Wl,-no-undefined conftest.c >&5 configure:16563: $? = 0 configure:16564: result: yes configure:16595: checking whether to un-define target system token (before redefining) configure:16611: result: yes configure:16626: checking for system include file configure:16649: result: net-snmp/system/linux.h configure:16659: checking for machine-type include file configure:16674: result: net-snmp/machine/generic.h configure:16697: checking for additional cpp flags configure:16714: result: -x c configure:16723: checking for arm-openwrt-linux-muslgnueabi-gcc configure:16741: found /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc configure:16753: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc configure:16795: checking whether the compiler supports -fno-strict-aliasing configure:16810: arm-openwrt-linux-muslgnueabi-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:16810: $? = 0 configure:16811: result: yes configure:16898: checking for dpkg-query configure:16931: result: no configure:17085: checking for ANSI C header files configure:17189: result: yes configure:17200: checking for dirent.h that defines DIR configure:17219: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17219: $? = 0 configure:17227: result: yes configure:17240: checking for library containing opendir configure:17271: arm-openwrt-linux-muslgnueabi-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:17271: $? = 0 configure:17288: result: none required configure:17361: checking for sys/wait.h that is POSIX.1 compatible configure:17387: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17387: $? = 0 configure:17394: result: yes configure:17414: checking getopt.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking getopt.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking for getopt.h configure:17414: result: yes configure:17414: checking pthread.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking pthread.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking for pthread.h configure:17414: result: yes configure:17414: checking regex.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking regex.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking for regex.h configure:17414: result: yes configure:17414: checking for string.h configure:17414: result: yes configure:17414: checking syslog.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking syslog.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking for syslog.h configure:17414: result: yes configure:17414: checking for unistd.h configure:17414: result: yes configure:17414: checking for stdint.h configure:17414: result: yes configure:17414: checking for inttypes.h configure:17414: result: yes configure:17414: checking process.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:95:10: fatal error: process.h: No such file or directory 95 | #include | ^~~~~~~~~~~ compilation terminated. configure:17414: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define 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:17414: result: no configure:17414: checking process.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:62:10: fatal error: process.h: No such file or directory 62 | #include | ^~~~~~~~~~~ compilation terminated. configure:17414: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define 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:17414: result: no configure:17414: checking for process.h configure:17414: result: no configure:17414: checking sys/param.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking sys/param.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking for sys/param.h configure:17414: result: yes configure:17414: checking sys/select.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking sys/select.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking for sys/select.h configure:17414: result: yes configure:17414: checking sys/syslog.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking sys/syslog.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking for sys/syslog.h configure:17414: result: yes configure:17414: checking sys/time.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking sys/time.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking for sys/time.h configure:17414: result: yes configure:17414: checking sys/timeb.h usability configure:17414: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking sys/timeb.h presence configure:17414: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17414: $? = 0 configure:17414: result: yes configure:17414: checking for sys/timeb.h configure:17414: result: yes configure:17428: checking for nlist.h configure:17428: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:107:10: fatal error: nlist.h: No such file or directory 107 | #include | ^~~~~~~~~ compilation terminated. configure:17428: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #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:17428: result: no configure:17450: checking crt_externs.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:100:10: fatal error: crt_externs.h: No such file or directory 100 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #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:17450: result: no configure:17450: checking crt_externs.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:67:10: fatal error: crt_externs.h: No such file or directory 67 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #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:17450: result: no configure:17450: checking for crt_externs.h configure:17450: result: no configure:17450: checking fcntl.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking fcntl.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking for fcntl.h configure:17450: result: yes configure:17450: checking io.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:101:10: fatal error: io.h: No such file or directory 101 | #include | ^~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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:17450: result: no configure:17450: checking io.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:68:10: fatal error: io.h: No such file or directory 68 | #include | ^~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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:17450: result: no configure:17450: checking for io.h configure:17450: result: no configure:17450: checking kstat.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:101:10: fatal error: kstat.h: No such file or directory 101 | #include | ^~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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:17450: result: no configure:17450: checking kstat.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:68:10: fatal error: kstat.h: No such file or directory 68 | #include | ^~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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:17450: result: no configure:17450: checking for kstat.h configure:17450: result: no configure:17450: checking limits.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking limits.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking for limits.h configure:17450: result: yes configure:17450: checking locale.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking locale.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking for locale.h configure:17450: result: yes configure:17450: checking mach-o/dyld.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:103:10: fatal error: mach-o/dyld.h: No such file or directory 103 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_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:17450: result: no configure:17450: checking mach-o/dyld.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:70:10: fatal error: mach-o/dyld.h: No such file or directory 70 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_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:17450: result: no configure:17450: checking for mach-o/dyld.h configure:17450: result: no configure:17450: checking sys/file.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking sys/file.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking for sys/file.h configure:17450: result: yes configure:17450: checking sys/ioctl.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking sys/ioctl.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking for sys/ioctl.h configure:17450: result: yes configure:17450: checking sys/sockio.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:105:10: fatal error: sys/sockio.h: No such file or directory 105 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_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:17450: result: no configure:17450: checking sys/sockio.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:72:10: fatal error: sys/sockio.h: No such file or directory 72 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_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:17450: result: no configure:17450: checking for sys/sockio.h configure:17450: result: no configure:17450: checking for sys/stat.h configure:17450: result: yes configure:17450: checking sys/systemcfg.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:106:10: fatal error: sys/systemcfg.h: No such file or directory 106 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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:17450: result: no configure:17450: checking sys/systemcfg.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:73:10: fatal error: sys/systemcfg.h: No such file or directory 73 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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:17450: result: no configure:17450: checking for sys/systemcfg.h configure:17450: result: no configure:17450: checking sys/systeminfo.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:106:10: fatal error: sys/systeminfo.h: No such file or directory 106 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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:17450: result: no configure:17450: checking sys/systeminfo.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:73:10: fatal error: sys/systeminfo.h: No such file or directory 73 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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:17450: result: no configure:17450: checking for sys/systeminfo.h configure:17450: result: no configure:17450: checking sys/times.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking sys/times.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking for sys/times.h configure:17450: result: yes configure:17450: checking sys/uio.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking sys/uio.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking for sys/uio.h configure:17450: result: yes configure:17450: checking sys/utsname.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking sys/utsname.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17450: $? = 0 configure:17450: result: yes configure:17450: checking for sys/utsname.h configure:17450: result: yes configure:17450: checking netipx/ipx.h usability configure:17450: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:109:10: fatal error: netipx/ipx.h: No such file or directory 109 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_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:17450: result: no configure:17450: checking netipx/ipx.h presence configure:17450: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:76:10: fatal error: netipx/ipx.h: No such file or directory 76 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | /* end confdefs.h. */ | #include configure:17450: result: no configure:17450: checking for netipx/ipx.h configure:17450: result: no configure:17465: checking for dlfcn.h configure:17465: result: yes configure:17465: checking err.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking err.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking for err.h configure:17465: result: yes configure:17465: checking for fcntl.h configure:17465: result: yes configure:17465: checking fstab.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:112:10: fatal error: fstab.h: No such file or directory 112 | #include | ^~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_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:17465: result: no configure:17465: checking fstab.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:79:10: fatal error: fstab.h: No such file or directory 79 | #include | ^~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | /* end confdefs.h. */ | #include configure:17465: result: no configure:17465: checking for fstab.h configure:17465: result: no configure:17465: checking grp.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking grp.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking for grp.h configure:17465: result: yes configure:17465: checking for io.h configure:17465: result: no configure:17465: checking ioctls.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:113:10: fatal error: ioctls.h: No such file or directory 113 | #include | ^~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_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:17465: result: no configure:17465: checking ioctls.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:80:10: fatal error: ioctls.h: No such file or directory 80 | #include | ^~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_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:17465: result: no configure:17465: checking for ioctls.h configure:17465: result: no configure:17465: checking for kstat.h configure:17465: result: no configure:17465: checking kvm.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:113:10: fatal error: kvm.h: No such file or directory 113 | #include | ^~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_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:17465: result: no configure:17465: checking kvm.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:80:10: fatal error: kvm.h: No such file or directory 80 | #include | ^~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_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:17465: result: no configure:17465: checking for kvm.h configure:17465: result: no configure:17465: checking for limits.h configure:17465: result: yes configure:17465: checking mntent.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking mntent.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking for mntent.h configure:17465: result: yes configure:17465: checking mtab.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:115:10: fatal error: mtab.h: No such file or directory 115 | #include | ^~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define 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:17465: result: no configure:17465: checking mtab.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:82:10: fatal error: mtab.h: No such file or directory 82 | #include | ^~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define 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:17465: result: no configure:17465: checking for mtab.h configure:17465: result: no configure:17465: checking pkglocs.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:115:10: fatal error: pkglocs.h: No such file or directory 115 | #include | ^~~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define 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:17465: result: no configure:17465: checking pkglocs.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:82:10: fatal error: pkglocs.h: No such file or directory 82 | #include | ^~~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define 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:17465: result: no configure:17465: checking for pkglocs.h configure:17465: result: no configure:17465: checking pwd.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking pwd.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking for pwd.h configure:17465: result: yes configure:17465: checking spawn.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking spawn.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking for spawn.h configure:17465: result: yes configure:17465: checking com_err.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:117:10: fatal error: com_err.h: No such file or directory 117 | #include | ^~~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17465: result: no configure:17465: checking com_err.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:84:10: fatal error: com_err.h: No such file or directory 84 | #include | ^~~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | /* end confdefs.h. */ | #include configure:17465: result: no configure:17465: checking for com_err.h configure:17465: result: no configure:17465: checking et/com_err.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:117:10: fatal error: et/com_err.h: No such file or directory 117 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17465: result: no configure:17465: checking et/com_err.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:84:10: fatal error: et/com_err.h: No such file or directory 84 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | /* end confdefs.h. */ | #include configure:17465: result: no configure:17465: checking for et/com_err.h configure:17465: result: no configure:17465: checking utmpx.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking utmpx.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17465: $? = 0 configure:17465: result: yes configure:17465: checking for utmpx.h configure:17465: result: yes configure:17465: checking utsname.h usability configure:17465: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:118:10: fatal error: utsname.h: No such file or directory 118 | #include | ^~~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17465: result: no configure:17465: checking utsname.h presence configure:17465: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:85:10: fatal error: utsname.h: No such file or directory 85 | #include | ^~~~~~~~~~~ compilation terminated. configure:17465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | /* end confdefs.h. */ | #include configure:17465: result: no configure:17465: checking for utsname.h configure:17465: result: no configure:17479: checking sys/diskio.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:118:10: fatal error: sys/diskio.h: No such file or directory 118 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/diskio.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:85:10: fatal error: sys/diskio.h: No such file or directory 85 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/diskio.h configure:17479: result: no configure:17479: checking sys/dkio.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:118:10: fatal error: sys/dkio.h: No such file or directory 118 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/dkio.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:85:10: fatal error: sys/dkio.h: No such file or directory 85 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/dkio.h configure:17479: result: no configure:17479: checking for sys/file.h configure:17479: result: yes configure:17479: checking sys/filio.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:119:10: fatal error: sys/filio.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/filio.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:86:10: fatal error: sys/filio.h: No such file or directory 86 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/filio.h configure:17479: result: no configure:17479: checking sys/fixpoint.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:119:10: fatal error: sys/fixpoint.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/fixpoint.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:86:10: fatal error: sys/fixpoint.h: No such file or directory 86 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/fixpoint.h configure:17479: result: no configure:17479: checking sys/fs.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:119:10: fatal error: sys/fs.h: No such file or directory 119 | #include | ^~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/fs.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:86:10: fatal error: sys/fs.h: No such file or directory 86 | #include | ^~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/fs.h configure:17479: result: no configure:17479: checking for sys/ioctl.h configure:17479: result: yes configure:17479: checking sys/loadavg.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:120:10: fatal error: sys/loadavg.h: No such file or directory 120 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/loadavg.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:87:10: fatal error: sys/loadavg.h: No such file or directory 87 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/loadavg.h configure:17479: result: no configure:17479: checking sys/mntent.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:120:10: fatal error: sys/mntent.h: No such file or directory 120 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/mntent.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:87:10: fatal error: sys/mntent.h: No such file or directory 87 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/mntent.h configure:17479: result: no configure:17479: checking sys/mnttab.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:120:10: fatal error: sys/mnttab.h: No such file or directory 120 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/mnttab.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:87:10: fatal error: sys/mnttab.h: No such file or directory 87 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/mnttab.h configure:17479: result: no configure:17479: checking sys/pool.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:120:10: fatal error: sys/pool.h: No such file or directory 120 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/pool.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:87:10: fatal error: sys/pool.h: No such file or directory 87 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/pool.h configure:17479: result: no configure:17479: checking sys/protosw.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:120:10: fatal error: sys/protosw.h: No such file or directory 120 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/protosw.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:87:10: fatal error: sys/protosw.h: No such file or directory 87 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/protosw.h configure:17479: result: no configure:17479: checking sys/pstat.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:120:10: fatal error: sys/pstat.h: No such file or directory 120 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_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:17479: result: no configure:17479: checking sys/pstat.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:87:10: fatal error: sys/pstat.h: No such file or directory 87 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:17479: result: no configure:17479: checking for sys/pstat.h configure:17479: result: no configure:17479: checking for sys/sockio.h configure:17479: result: no configure:17479: checking for sys/stat.h configure:17479: result: yes configure:17479: checking sys/statfs.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17479: $? = 0 configure:17479: result: yes configure:17479: checking sys/statfs.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17479: $? = 0 configure:17479: result: yes configure:17479: checking for sys/statfs.h configure:17479: result: yes configure:17479: checking sys/statvfs.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17479: $? = 0 configure:17479: result: yes configure:17479: checking sys/statvfs.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17479: $? = 0 configure:17479: result: yes configure:17479: checking for sys/statvfs.h configure:17479: result: yes configure:17479: checking sys/stream.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:123:10: fatal error: sys/stream.h: No such file or directory 123 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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:17479: result: no configure:17479: checking sys/stream.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:90:10: fatal error: sys/stream.h: No such file or directory 90 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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:17479: result: no configure:17479: checking for sys/stream.h configure:17479: result: no configure:17479: checking sys/sysget.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:123:10: fatal error: sys/sysget.h: No such file or directory 123 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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:17479: result: no configure:17479: checking sys/sysget.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:90:10: fatal error: sys/sysget.h: No such file or directory 90 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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:17479: result: no configure:17479: checking for sys/sysget.h configure:17479: result: no configure:17479: checking sys/sysmacros.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17479: $? = 0 configure:17479: result: yes configure:17479: checking sys/sysmacros.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17479: $? = 0 configure:17479: result: yes configure:17479: checking for sys/sysmacros.h configure:17479: result: yes configure:17479: checking sys/sysmp.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:124:10: fatal error: sys/sysmp.h: No such file or directory 124 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17479: result: no configure:17479: checking sys/sysmp.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:91:10: fatal error: sys/sysmp.h: No such file or directory 91 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17479: result: no configure:17479: checking for sys/sysmp.h configure:17479: result: no configure:17479: checking sys/tcpipstats.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:124:10: fatal error: sys/tcpipstats.h: No such file or directory 124 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17479: result: no configure:17479: checking sys/tcpipstats.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:91:10: fatal error: sys/tcpipstats.h: No such file or directory 91 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17479: result: no configure:17479: checking for sys/tcpipstats.h configure:17479: result: no configure:17479: checking for sys/utsname.h configure:17479: result: yes configure:17479: checking sys/vfs.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17479: $? = 0 configure:17479: result: yes configure:17479: checking sys/vfs.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17479: $? = 0 configure:17479: result: yes configure:17479: checking for sys/vfs.h configure:17479: result: yes configure:17479: checking sys/vm.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:126:10: fatal error: sys/vm.h: No such file or directory 126 | #include | ^~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking sys/vm.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:93:10: fatal error: sys/vm.h: No such file or directory 93 | #include | ^~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking for sys/vm.h configure:17479: result: no configure:17479: checking sys/vmmac.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:126:10: fatal error: sys/vmmac.h: No such file or directory 126 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking sys/vmmac.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:93:10: fatal error: sys/vmmac.h: No such file or directory 93 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking for sys/vmmac.h configure:17479: result: no configure:17479: checking sys/vmmeter.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:126:10: fatal error: sys/vmmeter.h: No such file or directory 126 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking sys/vmmeter.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:93:10: fatal error: sys/vmmeter.h: No such file or directory 93 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking for sys/vmmeter.h configure:17479: result: no configure:17479: checking sys/vmparam.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:126:10: fatal error: sys/vmparam.h: No such file or directory 126 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking sys/vmparam.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:93:10: fatal error: sys/vmparam.h: No such file or directory 93 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking for sys/vmparam.h configure:17479: result: no configure:17479: checking sys/vmsystm.h usability configure:17479: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:126:10: fatal error: sys/vmsystm.h: No such file or directory 126 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking sys/vmsystm.h presence configure:17479: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:93:10: fatal error: sys/vmsystm.h: No such file or directory 93 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17479: result: no configure:17479: checking for sys/vmsystm.h configure:17479: result: no configure:17493: checking asm/page.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:126:10: fatal error: asm/page.h: No such file or directory 126 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17493: result: no configure:17493: checking asm/page.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:93:10: fatal error: asm/page.h: No such file or directory 93 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17493: result: no configure:17493: checking for asm/page.h configure:17493: result: no configure:17493: checking asm/types.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17493: $? = 0 configure:17493: result: yes configure:17493: checking asm/types.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17493: $? = 0 configure:17493: result: yes configure:17493: checking for asm/types.h configure:17493: result: yes configure:17493: checking inet/mib2.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:127:10: fatal error: inet/mib2.h: No such file or directory 127 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #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:17493: result: no configure:17493: checking inet/mib2.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:94:10: fatal error: inet/mib2.h: No such file or directory 94 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #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:17493: result: no configure:17493: checking for inet/mib2.h configure:17493: result: no configure:17493: checking linux/hdreg.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17493: $? = 0 configure:17493: result: yes configure:17493: checking linux/hdreg.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17493: $? = 0 configure:17493: result: yes configure:17493: checking for linux/hdreg.h configure:17493: result: yes configure:17493: checking linux/tasks.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:128:10: fatal error: linux/tasks.h: No such file or directory 128 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking linux/tasks.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:95:10: fatal error: linux/tasks.h: No such file or directory 95 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking for linux/tasks.h configure:17493: result: no configure:17493: checking machine/param.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:128:10: fatal error: machine/param.h: No such file or directory 128 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking machine/param.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:95:10: fatal error: machine/param.h: No such file or directory 95 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking for machine/param.h configure:17493: result: no configure:17493: checking ufs/fs.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:128:10: fatal error: ufs/fs.h: No such file or directory 128 | #include | ^~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking ufs/fs.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:95:10: fatal error: ufs/fs.h: No such file or directory 95 | #include | ^~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking for ufs/fs.h configure:17493: result: no configure:17493: checking uvm/uvm_extern.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:128:10: fatal error: uvm/uvm_extern.h: No such file or directory 128 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking uvm/uvm_extern.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:95:10: fatal error: uvm/uvm_extern.h: No such file or directory 95 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking for uvm/uvm_extern.h configure:17493: result: no configure:17493: checking uvm/uvm_param.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:128:10: fatal error: uvm/uvm_param.h: No such file or directory 128 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking uvm/uvm_param.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:95:10: fatal error: uvm/uvm_param.h: No such file or directory 95 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking for uvm/uvm_param.h configure:17493: result: no configure:17493: checking vm/vm.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:128:10: fatal error: vm/vm.h: No such file or directory 128 | #include | ^~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking vm/vm.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:95:10: fatal error: vm/vm.h: No such file or directory 95 | #include | ^~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking for vm/vm.h configure:17493: result: no configure:17493: checking vm/vm_extern.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:128:10: fatal error: vm/vm_extern.h: No such file or directory 128 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking vm/vm_extern.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:95:10: fatal error: vm/vm_extern.h: No such file or directory 95 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking for vm/vm_extern.h configure:17493: result: no configure:17493: checking vm/vm_param.h usability configure:17493: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:128:10: fatal error: vm/vm_param.h: No such file or directory 128 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking vm/vm_param.h presence configure:17493: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:95:10: fatal error: vm/vm_param.h: No such file or directory 95 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17493: result: no configure:17493: checking for vm/vm_param.h configure:17493: result: no configure:17508: checking for fcntl.h configure:17508: result: yes configure:17508: checking for grp.h configure:17508: result: yes configure:17508: checking for pwd.h configure:17508: result: yes configure:17508: checking sys/cdefs.h usability configure:17508: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:131:10: fatal error: sys/cdefs.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17508: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_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:17508: result: no configure:17508: checking sys/cdefs.h presence configure:17508: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:98:10: fatal error: sys/cdefs.h: No such file or directory 98 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17508: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | /* end confdefs.h. */ | #include configure:17508: result: no configure:17508: checking for sys/cdefs.h configure:17508: result: no configure:17508: checking for sys/ioctl.h configure:17508: result: yes configure:17508: checking for sys/time.h configure:17508: result: yes configure:17523: checking search.h usability configure:17523: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17523: $? = 0 configure:17523: result: yes configure:17523: checking search.h presence configure:17523: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17523: $? = 0 configure:17523: result: yes configure:17523: checking for search.h configure:17523: result: yes configure:17523: checking sgtty.h usability configure:17523: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:134:10: fatal error: sgtty.h: No such file or directory 134 | #include | ^~~~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_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:17523: result: no configure:17523: checking sgtty.h presence configure:17523: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:101:10: fatal error: sgtty.h: No such file or directory 101 | #include | ^~~~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | /* end confdefs.h. */ | #include configure:17523: result: no configure:17523: checking for sgtty.h configure:17523: result: no configure:17523: checking xti.h usability configure:17523: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:134:10: fatal error: xti.h: No such file or directory 134 | #include | ^~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_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:17523: result: no configure:17523: checking xti.h presence configure:17523: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:101:10: fatal error: xti.h: No such file or directory 101 | #include | ^~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | /* end confdefs.h. */ | #include configure:17523: result: no configure:17523: checking for xti.h configure:17523: result: no configure:17523: checking sys/dmap.h usability configure:17523: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:134:10: fatal error: sys/dmap.h: No such file or directory 134 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_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:17523: result: no configure:17523: checking sys/dmap.h presence configure:17523: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:101:10: fatal error: sys/dmap.h: No such file or directory 101 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | /* end confdefs.h. */ | #include configure:17523: result: no configure:17523: checking for sys/dmap.h configure:17523: result: no configure:17523: checking sys/poll.h usability configure:17523: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 In file included from conftest.c:134: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:17523: $? = 0 configure:17523: result: yes configure:17523: checking sys/poll.h presence configure:17523: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c In file included from conftest.c:101: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:17523: $? = 0 configure:17523: result: yes configure:17523: checking for sys/poll.h configure:17523: result: yes configure:17523: checking sys/timeout.h usability configure:17523: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:135:10: fatal error: sys/timeout.h: No such file or directory 135 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_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:17523: result: no configure:17523: checking sys/timeout.h presence configure:17523: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:102:10: fatal error: sys/timeout.h: No such file or directory 102 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include configure:17523: result: no configure:17523: checking for sys/timeout.h configure:17523: result: no configure:17523: checking machine/pte.h usability configure:17523: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:135:10: fatal error: machine/pte.h: No such file or directory 135 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_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:17523: result: no configure:17523: checking machine/pte.h presence configure:17523: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:102:10: fatal error: machine/pte.h: No such file or directory 102 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include configure:17523: result: no configure:17523: checking for machine/pte.h configure:17523: result: no configure:17523: checking pci/pci.h usability configure:17523: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17523: $? = 0 configure:17523: result: yes configure:17523: checking pci/pci.h presence configure:17523: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17523: $? = 0 configure:17523: result: yes configure:17523: checking for pci/pci.h configure:17523: result: yes configure:17539: checking valgrind/valgrind.h usability configure:17539: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:136:10: fatal error: valgrind/valgrind.h: No such file or directory 136 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17539: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_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:17539: result: no configure:17539: checking valgrind/valgrind.h presence configure:17539: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:103:10: fatal error: valgrind/valgrind.h: No such file or directory 103 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17539: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | /* end confdefs.h. */ | #include configure:17539: result: no configure:17539: checking for valgrind/valgrind.h configure:17539: result: no configure:17539: checking valgrind/memcheck.h usability configure:17539: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:136:10: fatal error: valgrind/memcheck.h: No such file or directory 136 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17539: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_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:17539: result: no configure:17539: checking valgrind/memcheck.h presence configure:17539: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:103:10: fatal error: valgrind/memcheck.h: No such file or directory 103 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17539: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | /* end confdefs.h. */ | #include configure:17539: result: no configure:17539: checking for valgrind/memcheck.h configure:17539: result: no configure:17553: checking openssl/aes.h usability configure:17553: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17553: $? = 0 configure:17553: result: yes configure:17553: checking openssl/aes.h presence configure:17553: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17553: $? = 0 configure:17553: result: yes configure:17553: checking for openssl/aes.h configure:17553: result: yes configure:17566: checking openssl/dh.h usability configure:17566: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17566: $? = 0 configure:17566: result: yes configure:17566: checking openssl/dh.h presence configure:17566: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17566: $? = 0 configure:17566: result: yes configure:17566: checking for openssl/dh.h configure:17566: result: yes configure:17580: checking openssl/des.h usability configure:17580: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17580: $? = 0 configure:17580: result: yes configure:17580: checking openssl/des.h presence configure:17580: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17580: $? = 0 configure:17580: result: yes configure:17580: checking for openssl/des.h configure:17580: result: yes configure:17580: checking openssl/hmac.h usability configure:17580: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17580: $? = 0 configure:17580: result: yes configure:17580: checking openssl/hmac.h presence configure:17580: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17580: $? = 0 configure:17580: result: yes configure:17580: checking for openssl/hmac.h configure:17580: result: yes configure:17580: checking openssl/evp.h usability configure:17580: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17580: $? = 0 configure:17580: result: yes configure:17580: checking openssl/evp.h presence configure:17580: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17580: $? = 0 configure:17580: result: yes configure:17580: checking for openssl/evp.h configure:17580: result: yes configure:17580: checking security/cryptoki.h usability configure:17580: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:141:10: fatal error: security/cryptoki.h: No such file or directory 141 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17580: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #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:17580: result: no configure:17580: checking security/cryptoki.h presence configure:17580: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:108:10: fatal error: security/cryptoki.h: No such file or directory 108 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17580: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #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:17580: result: no configure:17580: checking for security/cryptoki.h configure:17580: result: no configure:17619: checking for sys/swap.h configure:17619: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17619: $? = 0 configure:17619: result: yes configure:17641: checking for malloc.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17641: $? = 0 configure:17641: result: yes configure:17641: checking for osreldate.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:119:10: fatal error: osreldate.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17641: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17641: result: no configure:17641: checking for machine/types.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:119:10: fatal error: machine/types.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17641: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17641: result: no configure:17641: checking for sys/dkstat.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:119:10: fatal error: sys/dkstat.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17641: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17641: result: no configure:17641: checking for sys/conf.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:119:10: fatal error: sys/conf.h: No such file or directory 119 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17641: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17641: result: no configure:17641: checking for sys/mbuf.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:119:10: fatal error: sys/mbuf.h: No such file or directory 119 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17641: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17641: result: no configure:17641: checking for sys/mount.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17641: $? = 0 configure:17641: result: yes configure:17641: checking for sys/proc.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:120:10: fatal error: sys/proc.h: No such file or directory 120 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17641: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 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:17641: result: no configure:17641: checking for sys/queue.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17641: $? = 0 configure:17641: result: yes configure:17641: checking for sys/user.h configure:17641: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17641: $? = 0 configure:17641: result: yes configure:17687: checking sys/sema.h usability configure:17687: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:146:10: fatal error: sys/sema.h: No such file or directory 146 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17687: result: no configure:17687: checking sys/sema.h presence configure:17687: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:113:10: fatal error: sys/sema.h: No such file or directory 113 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17687: result: no configure:17687: checking for sys/sema.h configure:17687: result: no configure:17699: checking for sys/hashing.h configure:17699: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:152:10: fatal error: sys/hashing.h: No such file or directory 152 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:17699: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17699: result: no configure:17721: checking for sys/vnode.h configure:17721: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:120:10: fatal error: sys/vnode.h: No such file or directory 120 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17721: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17721: result: no configure:17743: checking for sys/disklabel.h configure:17743: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:125:10: fatal error: sys/disklabel.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17743: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17743: result: no configure:17768: checking nbutil.h usability configure:17768: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:146:10: fatal error: nbutil.h: No such file or directory 146 | #include | ^~~~~~~~~~ compilation terminated. configure:17768: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17768: result: no configure:17768: checking nbutil.h presence configure:17768: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:113:10: fatal error: nbutil.h: No such file or directory 113 | #include | ^~~~~~~~~~ compilation terminated. configure:17768: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17768: result: no configure:17768: checking for nbutil.h configure:17768: result: no configure:17785: checking for ufs/ufs/dinode.h configure:17785: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:125:10: fatal error: ufs/ufs/dinode.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17785: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17785: result: no configure:17785: checking for ufs/ufs/quota.h configure:17785: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:125:10: fatal error: ufs/ufs/quota.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17785: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17785: result: no configure:17785: checking for ufs/ufs/inode.h configure:17785: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:125:10: fatal error: ufs/ufs/inode.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17785: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17785: result: no configure:17785: checking for ufs/ffs/fs.h configure:17785: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:125:10: fatal error: ufs/ffs/fs.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17785: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17785: result: no configure:17812: checking for vm/swap_pager.h configure:17812: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:119:10: fatal error: vm/swap_pager.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17812: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17812: result: no configure:17834: checking for linux/netlink.h configure:17834: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17834: $? = 0 configure:17834: result: yes configure:17834: checking for linux/rtnetlink.h configure:17834: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17834: $? = 0 configure:17834: result: yes configure:17870: checking for sys/socket.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for sys/un.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/tcp_fsm.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:177:10: fatal error: netinet/tcp_fsm.h: No such file or directory 177 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #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:17870: result: no configure:17870: checking for sys/sockio.h configure:17870: result: no configure:17870: checking for sys/socketvar.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:177:10: fatal error: sys/socketvar.h: No such file or directory 177 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #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:17870: result: no configure:17870: checking for net/if_dl.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:177:10: fatal error: net/if_dl.h: No such file or directory 177 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #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:17870: result: no configure:17870: checking for net/if_types.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:177:10: fatal error: net/if_types.h: No such file or directory 177 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #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:17870: result: no configure:17870: checking for arpa/inet.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for net/if.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/in.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netdb.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for net/if_arp.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for net/if_mib.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:182:10: fatal error: net/if_mib.h: No such file or directory 182 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for net/if_var.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:182:10: fatal error: net/if_var.h: No such file or directory 182 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet/if_ether.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/in_systm.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/in_var.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:184:10: fatal error: netinet/in_var.h: No such file or directory 184 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet/ip.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/ip_icmp.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/icmp_var.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:186:10: fatal error: netinet/icmp_var.h: No such file or directory 186 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet/ip_var.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:186:10: fatal error: netinet/ip_var.h: No such file or directory 186 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet/tcp.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/tcp_timer.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:187:10: fatal error: netinet/tcp_timer.h: No such file or directory 187 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet/tcp_var.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:187:10: fatal error: netinet/tcp_var.h: No such file or directory 187 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet/tcpip.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:187:10: fatal error: netinet/tcpip.h: No such file or directory 187 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet/udp.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/udp_var.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:188:10: fatal error: netinet/udp_var.h: No such file or directory 188 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for net/route.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/icmp6.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet/in_pcb.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:190:10: fatal error: netinet/in_pcb.h: No such file or directory 190 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet/ip6.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17870: $? = 0 configure:17870: result: yes configure:17870: checking for netinet6/in6_var.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: netinet6/in6_var.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet6/in6_pcb.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: netinet6/in6_pcb.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet6/ip6_var.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: netinet6/ip6_var.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet6/nd6.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: netinet6/nd6.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet6/tcp6.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: netinet6/tcp6.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet6/tcp6_fsm.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: netinet6/tcp6_fsm.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet6/tcp6_timer.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: netinet6/tcp6_timer.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17870: checking for netinet6/tcp6_var.h configure:17870: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: netinet6/tcp6_var.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:17870: result: no configure:17961: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17961: $? = 0 configure:17964: checking linux/ethtool.h usability configure:17964: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:17964: $? = 0 configure:17964: result: yes configure:17964: checking linux/ethtool.h presence configure:17964: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c configure:17964: $? = 0 configure:17964: result: yes configure:17964: checking for linux/ethtool.h configure:17964: result: yes configure:18009: checking pkginfo.h usability configure:18009: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:165:10: fatal error: pkginfo.h: No such file or directory 165 | #include | ^~~~~~~~~~~ compilation terminated. configure:18009: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18009: result: no configure:18009: checking pkginfo.h presence configure:18009: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:132:10: fatal error: pkginfo.h: No such file or directory 132 | #include | ^~~~~~~~~~~ compilation terminated. configure:18009: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18009: result: no configure:18009: checking for pkginfo.h configure:18009: result: no configure:18098: checking pkg.h usability configure:18098: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:165:10: fatal error: pkg.h: No such file or directory 165 | #include | ^~~~~~~ compilation terminated. configure:18098: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18098: result: no configure:18098: checking pkg.h presence configure:18098: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:132:10: fatal error: pkg.h: No such file or directory 132 | #include | ^~~~~~~ compilation terminated. configure:18098: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18098: result: no configure:18098: checking for pkg.h configure:18098: result: no configure:18194: checking pkg.h usability configure:18194: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -I/usr/local/include conftest.c >&5 conftest.c:165:10: fatal error: pkg.h: No such file or directory 165 | #include | ^~~~~~~ compilation terminated. configure:18194: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18194: result: no configure:18194: checking pkg.h presence configure:18194: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -I/usr/local/include conftest.c conftest.c:132:10: fatal error: pkg.h: No such file or directory 132 | #include | ^~~~~~~ compilation terminated. configure:18194: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18194: result: no configure:18194: checking for pkg.h configure:18194: result: no configure:18482: checking for windows.h configure:18482: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:138:10: fatal error: windows.h: No such file or directory 138 | #include | ^~~~~~~~~~~ compilation terminated. configure:18482: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18482: result: no configure:18482: checking for iphlpapi.h configure:18482: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:138:10: fatal error: iphlpapi.h: No such file or directory 138 | #include | ^~~~~~~~~~~~ compilation terminated. configure:18482: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18482: result: no configure:18500: checking for lm.h configure:18500: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:138:10: fatal error: lm.h: No such file or directory 138 | #include | ^~~~~~ compilation terminated. configure:18500: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18500: result: no configure:18542: checking sensors/sensors.h usability configure:18542: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:165:10: fatal error: sensors/sensors.h: No such file or directory 165 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:18542: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18542: result: no configure:18542: checking sensors/sensors.h presence configure:18542: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:132:10: fatal error: sensors/sensors.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:18542: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18542: result: no configure:18542: checking for sensors/sensors.h configure:18542: result: no configure:18542: checking picl.h usability configure:18542: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:165:10: fatal error: picl.h: No such file or directory 165 | #include | ^~~~~~~~ compilation terminated. configure:18542: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18542: result: no configure:18542: checking picl.h presence configure:18542: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:132:10: fatal error: picl.h: No such file or directory 132 | #include | ^~~~~~~~ compilation terminated. configure:18542: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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:18542: result: no configure:18542: checking for picl.h configure:18542: result: no configure:18563: checking for struct rtentry.rt_dst configure:18563: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:160:5: error: used struct type value where scalar is required 160 | if (ac_aggr.rt_dst) | ^~~~~~~ configure:18563: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18563: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:18563: $? = 0 configure:18563: result: yes configure:18595: checking for struct rtentry.rt_hash configure:18595: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:12: error: 'struct rtentry' has no member named 'rt_hash' 161 | if (ac_aggr.rt_hash) | ^ configure:18595: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18595: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:19: error: 'struct rtentry' has no member named 'rt_hash' 161 | if (sizeof ac_aggr.rt_hash) | ^ configure:18595: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18595: result: no configure:18627: checking for struct rtentry.rt_next configure:18627: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:12: error: 'struct rtentry' has no member named 'rt_next' 161 | if (ac_aggr.rt_next) | ^ configure:18627: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18627: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:19: error: 'struct rtentry' has no member named 'rt_next' 161 | if (sizeof ac_aggr.rt_next) | ^ configure:18627: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18627: result: no configure:18659: checking for struct rtentry.rt_refcnt configure:18659: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:12: error: 'struct rtentry' has no member named 'rt_refcnt' 161 | if (ac_aggr.rt_refcnt) | ^ configure:18659: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18659: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:19: error: 'struct rtentry' has no member named 'rt_refcnt' 161 | if (sizeof ac_aggr.rt_refcnt) | ^ configure:18659: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18659: result: no configure:18691: checking for struct rtentry.rt_unit configure:18691: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:12: error: 'struct rtentry' has no member named 'rt_unit' 161 | if (ac_aggr.rt_unit) | ^ configure:18691: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18691: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:19: error: 'struct rtentry' has no member named 'rt_unit' 161 | if (sizeof ac_aggr.rt_unit) | ^ configure:18691: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18691: result: no configure:18723: checking for struct rtentry.rt_use configure:18723: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:13: error: 'struct rtentry' has no member named 'rt_use'; did you mean 'rt_dst'? 161 | if (ac_aggr.rt_use) | ^~~~~~ | rt_dst configure:18723: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18723: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:161:20: error: 'struct rtentry' has no member named 'rt_use'; did you mean 'rt_dst'? 161 | if (sizeof ac_aggr.rt_use) | ^~~~~~ | rt_dst configure:18723: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_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:18723: result: no configure:18851: checking size of short configure:18870: result: 2 configure:18884: checking size of int configure:18903: result: 4 configure:18917: checking size of long configure:18936: result: 4 configure:18950: checking size of long long configure:18969: result: 8 configure:18983: checking size of intmax_t configure:18988: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:18988: $? = 0 configure:18988: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:173:12: error: size of array 'test_array' is negative 173 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 0)]; | ^~~~~~~~~~ configure:18988: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:18988: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:173:12: error: size of array 'test_array' is negative 173 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 1)]; | ^~~~~~~~~~ configure:18988: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:18988: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:173:12: error: size of array 'test_array' is negative 173 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 3)]; | ^~~~~~~~~~ configure:18988: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:18988: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:173:12: error: size of array 'test_array' is negative 173 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 7)]; | ^~~~~~~~~~ configure:18988: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:18988: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:18988: $? = 0 configure:18988: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:18988: $? = 0 configure:18988: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:18988: $? = 0 configure:18988: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:18988: $? = 0 configure:19002: result: 8 configure:19013: checking for int8_t configure:19013: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19013: $? = 0 configure:19013: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:175:12: error: size of array 'test_array' is negative 175 | static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:19013: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19013: result: yes configure:19024: checking for int16_t configure:19024: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19024: $? = 0 configure:19024: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:175:12: error: size of array 'test_array' is negative 175 | static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:19024: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19024: result: yes configure:19035: checking for int32_t configure:19035: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19035: $? = 0 configure:19035: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:176:67: warning: integer overflow in expression of type 'int' results in '-2147483648' [-Woverflow] 176 | < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; | ^ conftest.c:175:12: error: storage size of 'test_array' isn't constant 175 | static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:19035: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19035: result: yes configure:19046: checking for int64_t configure:19046: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19046: $? = 0 configure:19046: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:176:67: warning: integer overflow in expression of type 'long long int' results in '-9223372036854775808' [-Woverflow] 176 | < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; | ^ conftest.c:175:12: error: storage size of 'test_array' isn't constant 175 | static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:19046: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19046: result: yes configure:19058: checking for unsigned long long int configure:19097: arm-openwrt-linux-muslgnueabi-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:19097: $? = 0 configure:19106: result: yes configure:19116: checking for long long int configure:19166: result: yes configure:19176: checking for intmax_t configure:19176: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19176: $? = 0 configure:19176: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:176:23: error: expected expression before ')' token 176 | if (sizeof ((intmax_t))) | ^ configure:19176: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19176: result: yes configure:19193: checking for uint8_t configure:19193: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19193: $? = 0 configure:19193: result: yes configure:19207: checking for uint16_t configure:19207: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19207: $? = 0 configure:19207: result: yes configure:19219: checking for uint32_t configure:19219: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19219: $? = 0 configure:19219: result: yes configure:19233: checking for uint64_t configure:19233: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19233: $? = 0 configure:19233: result: yes configure:19249: checking for uintmax_t configure:19249: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19249: $? = 0 configure:19249: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:177:24: error: expected expression before ')' token 177 | if (sizeof ((uintmax_t))) | ^ configure:19249: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19249: result: yes configure:19267: checking for intptr_t configure:19267: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19267: $? = 0 configure:19267: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:178:23: error: expected expression before ')' token 178 | if (sizeof ((intptr_t))) | ^ configure:19267: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19267: result: yes configure:19303: checking for uintptr_t configure:19303: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19303: $? = 0 configure:19303: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:179:24: error: expected expression before ')' token 179 | if (sizeof ((uintptr_t))) | ^ configure:19303: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19303: result: yes configure:19344: checking for off64_t configure:19344: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19344: $? = 0 configure:19344: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:180:22: error: expected expression before ')' token 180 | if (sizeof ((off64_t))) | ^ configure:19344: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19344: result: yes configure:19354: checking for nfds_t configure:19354: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 In file included from conftest.c:145: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:19354: $? = 0 configure:19354: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 In file included from conftest.c:145: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ conftest.c: In function 'main': conftest.c:150:21: error: expected expression before ')' token 150 | if (sizeof ((nfds_t))) | ^ configure:19354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19354: result: yes configure:19369: checking for Counter64 configure:19369: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:146:10: fatal error: inet/mib2.h: No such file or directory 146 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:19369: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19369: result: no configure:19380: checking for mib2_ipIfStatsEntry_t configure:19380: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:146:10: fatal error: inet/mib2.h: No such file or directory 146 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:19380: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19380: result: no configure:19399: checking for struct in_ifaddr.ia_subnetmask configure:19399: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:155:25: error: storage size of 'ac_aggr' isn't known 155 | static struct in_ifaddr ac_aggr; | ^~~~~~~ configure:19399: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19399: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:155:25: error: storage size of 'ac_aggr' isn't known 155 | static struct in_ifaddr ac_aggr; | ^~~~~~~ configure:19399: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19399: result: no configure:19428: checking ipv6 stack type conftest.c:147:10: fatal error: /usr/local/v6/include/sys/types.h: No such file or directory 147 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:19506: result: postponed configure:19508: checking for struct sockaddr_in6.sin6_addr configure:19508: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:201:5: error: used struct type value where scalar is required 201 | if (ac_aggr.sin6_addr) | ^~~~~~~ configure:19508: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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:19508: arm-openwrt-linux-muslgnueabi-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:19508: $? = 0 configure:19508: result: yes configure:19531: checking ipv6 stack type configure:19554: result: "generic, yes, using libc" configure:19593: checking for platform-specific source configure:19641: result: configure:19643: result: configure:19675: checking for and configuring transport modules to use configure:19832: result: Alias Callback UDP Unix UDPIPv6 UDPIPv4Base UDPBase IPv4Base IPBase SocketBase IPv6Base. configure:19847: checking for security modules to use configure:19928: result: usm configure:20564: checking rpm/rpmlib.h usability configure:20564: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: rpm/rpmlib.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20564: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:20564: result: no configure:20564: checking rpm/rpmlib.h presence configure:20564: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:158:10: fatal error: rpm/rpmlib.h: No such file or directory 158 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20564: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | /* end confdefs.h. */ | #include configure:20564: result: no configure:20564: checking for rpm/rpmlib.h configure:20564: result: no configure:20564: checking rpm/header.h usability configure:20564: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:191:10: fatal error: rpm/header.h: No such file or directory 191 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20564: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:20564: result: no configure:20564: checking rpm/header.h presence configure:20564: arm-openwrt-linux-muslgnueabi-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c conftest.c:158:10: fatal error: rpm/header.h: No such file or directory 158 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20564: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | /* end confdefs.h. */ | #include configure:20564: result: no configure:20564: checking for rpm/header.h configure:20564: result: no configure:20575: checking for rpm/rpmlib.h configure:20575: result: no configure:20583: checking for rpm/header.h configure:20583: result: no configure:20900: checking for library containing getfsstat configure:20931: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccjA03Zy.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `getfsstat' collect2: error: ld returned 1 exit status configure:20931: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:20931: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lnbutil >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lnbutil collect2: error: ld returned 1 exit status configure:20931: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:20948: result: no configure:20958: checking for getfsstat configure:20958: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccRPBkbz.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `getfsstat' collect2: error: ld returned 1 exit status configure:20958: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:20958: result: no configure:20969: checking for getvfsstat configure:20969: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cco0Zjqg.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `getvfsstat' collect2: error: ld returned 1 exit status configure:20969: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:20969: result: no configure:20980: checking for library containing getmntent configure:21011: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:21011: $? = 0 configure:21028: result: none required configure:21046: checking for library containing kinfo_get_cpus configure:21077: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc6aWp2I.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kinfo_get_cpus' collect2: error: ld returned 1 exit status configure:21077: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21077: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lkinfo >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lkinfo collect2: error: ld returned 1 exit status configure:21077: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21094: result: no configure:21104: checking for kinfo_get_cpus configure:21104: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccJ8Xa6B.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kinfo_get_cpus' collect2: error: ld returned 1 exit status configure:21104: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21104: result: no configure:21118: checking for library containing exp configure:21146: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:166:6: warning: conflicting types for built-in function 'exp'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 166 | char exp (); | ^~~ conftest.c:1:1: note: 'exp' is declared in header '' 1 | /* confdefs.h */ configure:21146: $? = 0 configure:21182: result: none required configure:21197: checking for library containing kvm_read configure:21225: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cccUvCkg.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_read' collect2: error: ld returned 1 exit status configure:21225: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21248: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21248: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21261: result: no configure:21272: checking for library containing kvm_openfiles configure:21300: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc3Bczwp.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_openfiles' collect2: error: ld returned 1 exit status configure:21300: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21323: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21323: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21336: result: no configure:21347: checking for library containing kvm_getprocs configure:21375: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc3ZvIqb.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getprocs' collect2: error: ld returned 1 exit status configure:21375: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21398: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21398: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21411: result: no configure:21422: checking for library containing kvm_getproc2 configure:21450: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccmSWsHV.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getproc2' collect2: error: ld returned 1 exit status configure:21450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21473: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21473: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21486: result: no configure:21497: checking for library containing kvm_getfiles configure:21525: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc5sMmJ1.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getfiles' collect2: error: ld returned 1 exit status configure:21525: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21548: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21548: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21561: result: no configure:21572: checking for library containing kvm_getfile2 configure:21600: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccn58dRG.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getfile2' collect2: error: ld returned 1 exit status configure:21600: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21623: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21623: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21636: result: no configure:21647: checking for library containing kvm_getswapinfo configure:21675: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccZSyge6.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getswapinfo' collect2: error: ld returned 1 exit status configure:21675: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21698: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21698: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21711: result: no configure:21726: checking for kvm_openfiles configure:21726: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccRhKsj4.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_openfiles' collect2: error: ld returned 1 exit status configure:21726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21726: result: no configure:21726: checking for kvm_getprocs configure:21726: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccBvhbxg.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getprocs' collect2: error: ld returned 1 exit status configure:21726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21726: result: no configure:21726: checking for kvm_getproc2 configure:21726: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccHoktPo.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getproc2' collect2: error: ld returned 1 exit status configure:21726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21726: result: no configure:21726: checking for kvm_getswapinfo configure:21726: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccMakp9y.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getswapinfo' collect2: error: ld returned 1 exit status configure:21726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21726: result: no configure:21726: checking for kvm_getfiles configure:21726: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccZEw97I.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getfiles' collect2: error: ld returned 1 exit status configure:21726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21726: result: no configure:21726: checking for kvm_getfile2 configure:21726: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccN8EtDG.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `kvm_getfile2' collect2: error: ld returned 1 exit status configure:21726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 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:21726: result: no configure:21741: checking for library containing dlopen configure:21769: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:21769: $? = 0 configure:21805: result: none required configure:21819: checking for dlopen configure:21819: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:21819: $? = 0 configure:21819: result: yes configure:21834: checking for pcre2.h configure:21834: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:21834: $? = 0 configure:21834: result: yes configure:21860: checking for library containing pcre2_match_8 configure:21888: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccClgRfR.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `pcre2_match_8' collect2: error: ld returned 1 exit status configure:21888: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_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 pcre2_match_8 (); | int | main () | { | return pcre2_match_8 (); | ; | return 0; | } configure:21911: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lpcre2-8 >&5 configure:21911: $? = 0 configure:21924: result: -lpcre2-8 configure:22077: checking for and configuring mib modules to use configure:22147: result: agent/extend agentx default_modules host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute. configure:22966: result: . configure:22984: checking if directories need to be created configure:22989: result: . configure:22995: checking default mib files to read configure:23026: result: :NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB configure:23059: checking whether we have to build PIC code configure:23064: result: yes configure:23330: checking for library containing socket configure:23361: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:23361: $? = 0 configure:23378: result: none required configure:23388: checking for library containing gethostbyname configure:23419: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:23419: $? = 0 configure:23436: result: none required configure:23446: checking for gethostbyname configure:23446: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:23446: $? = 0 configure:23446: result: yes configure:23455: checking for library containing gethostbyaddr configure:23486: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:23486: $? = 0 configure:23503: result: none required configure:23513: checking for gethostbyaddr configure:23513: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:23513: $? = 0 configure:23513: result: yes configure:23546: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -liphlpapi >&5 conftest.c:167:12: fatal error: winsock2.h: No such file or directory 167 | #include | ^~~~~~~~~~~~ compilation terminated. configure:23546: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | | IpRenewAddress(0); | | ; | return 0; | } configure:23565: checking for MIB_IF_TABLE2 configure:23585: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:168:12: fatal error: winsock2.h: No such file or directory 168 | #include | ^~~~~~~~~~~~ compilation terminated. configure:23585: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-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:23593: result: no configure:23620: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lregex >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lregex collect2: error: ld returned 1 exit status configure:23620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | | regcomp(0, 0, 0); | | ; | return 0; | } configure:23654: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lsnmpapi >&5 conftest.c:167:12: fatal error: snmp.h: No such file or directory 167 | #include | ^~~~~~~~ compilation terminated. configure:23654: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #include | | int | main () | { | | SnmpUtilMemAlloc(0); | | ; | return 0; | } configure:23671: checking for kstat_lookup in -lkstat configure:23696: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lkstat >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lkstat collect2: error: ld returned 1 exit status configure:23696: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-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:23705: result: no configure:23715: checking for in6addr_any in -lsocket configure:23740: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lsocket >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status configure:23740: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-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:23749: result: no configure:23762: checking for library containing clock_gettime configure:23790: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:23790: $? = 0 configure:23826: result: none required configure:24011: checking for library containing pci_lookup_name configure:24039: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lpcre2-8 >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccfnowCe.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `pci_lookup_name' collect2: error: ld returned 1 exit status configure:24039: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-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:24062: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lpci -lpcre2-8 >&5 configure:24062: $? = 0 configure:24075: result: -lpci configure:24341: checking pkg-config is at least version 0.9.0 configure:24344: result: yes configure:24353: $PKG_CONFIG --exists --print-errors "libnl-3.0" Package libnl-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libnl-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'libnl-3.0', required by 'virtual:world', not found configure:24356: $? = 1 configure:25461: checking for pcap_create in -lpcap configure:25486: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lpcap >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lpcap collect2: error: ld returned 1 exit status configure:25486: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 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 pcap_create (); | int | main () | { | return pcap_create (); | ; | return 0; | } configure:25495: result: no configure:25528: checking for nlist configure:25528: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccKc48Zq.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `nlist' collect2: error: ld returned 1 exit status configure:25528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 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:25528: result: no configure:25528: checking for nlist64 configure:25528: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccq4ieoK.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `nlist64' collect2: error: ld returned 1 exit status configure:25528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 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:25528: result: no configure:25528: checking for knlist configure:25528: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cclfcSRN.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `knlist' collect2: error: ld returned 1 exit status configure:25528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 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:25528: result: no configure:25539: checking for library containing endwin configure:25567: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccCGE721.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `endwin' collect2: error: ld returned 1 exit status configure:25567: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 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:25590: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lcurses >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lcurses collect2: error: ld returned 1 exit status configure:25590: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 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:25590: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c -lncurses >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lncurses collect2: error: ld returned 1 exit status configure:25590: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 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:25603: result: no configure:25645: checking for library containing ceil configure:25673: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:176:6: warning: conflicting types for built-in function 'ceil'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 176 | char ceil (); | ^~~~ conftest.c:1:1: note: 'ceil' is declared in header '' 1 | /* confdefs.h */ configure:25673: $? = 0 configure:25709: result: none required configure:26151: checking for potential embedded Perl support configure:26159: result: disabled configure:26177: checking if we can install the Perl modules configure:26202: result: no configure:26233: checking if we should install the python bindings configure:26254: result: no configure:26280: checking for authentication support configure:26364: result: Internal MD5 Support configure:26644: checking for off_t configure:26644: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:26644: $? = 0 configure:26644: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:206:20: error: expected expression before ')' token 206 | if (sizeof ((off_t))) | ^ configure:26644: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:26644: result: yes configure:26655: checking for pid_t configure:26655: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:26655: $? = 0 configure:26655: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:206:20: error: expected expression before ')' token 206 | if (sizeof ((pid_t))) | ^ configure:26655: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:26655: result: yes configure:26666: checking whether time.h and sys/time.h may both be included configure:26686: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:26686: $? = 0 configure:26693: result: yes configure:26712: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:26712: $? = 0 configure:26735: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:26735: $? = 0 configure:26754: checking for socklen_t configure:26754: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:26754: $? = 0 configure:26754: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:193:24: error: expected expression before ')' token 193 | if (sizeof ((socklen_t))) | ^ configure:26754: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:26754: result: yes configure:26779: checking for in_addr_t configure:26779: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:26779: $? = 0 configure:26779: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:194:24: error: expected expression before ')' token 194 | if (sizeof ((in_addr_t))) | ^ configure:26779: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:26779: result: yes configure:26804: checking for ssize_t configure:26804: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:26804: $? = 0 configure:26804: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:195:22: error: expected expression before ')' token 195 | if (sizeof ((ssize_t))) | ^ configure:26804: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:26804: result: yes configure:26844: checking for the type of the fifth argument of select() configure:26869: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -Werror -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:26869: $? = 0 configure:26874: result: struct timeval configure:26882: checking for the type of the third argument of ioctlsocket() configure:26907: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -Werror -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:191:8: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] 191 | return ioctlsocket(0, 0, (unsigned int *)NULL) | ^~~~~~~~~~~ cc1: all warnings being treated as errors configure:26907: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:26907: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -Werror -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:191:8: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] 191 | return ioctlsocket(0, 0, (unsigned long *)NULL) | ^~~~~~~~~~~ cc1: all warnings being treated as errors configure:26907: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:26912: result: void configure:27026: checking for size_t configure:27026: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:27026: $? = 0 configure:27026: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:214:21: error: expected expression before ')' token 214 | if (sizeof ((size_t))) | ^ configure:27026: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:27026: result: yes configure:27039: checking for working alloca.h configure:27056: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27056: $? = 0 configure:27064: result: yes configure:27072: checking for alloca configure:27109: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27109: $? = 0 configure:27117: result: yes configure:27224: checking whether arm-openwrt-linux-muslgnueabi-gcc needs -traditional conftest.c:180:10: fatal error: sgtty.h: No such file or directory 180 | #include | ^~~~~~~~~ compilation terminated. conftest.c:180:10: fatal error: termio.h: No such file or directory 180 | #include | ^~~~~~~~~~ compilation terminated. configure:27258: result: no configure:27266: checking return type of signal handlers configure:27284: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:186:10: error: void value not ignored as it ought to be 186 | return *(signal (0, 0)) (0) == 1; | ~^~~~~~~~~~~~~~~~~~ configure:27284: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:27291: result: void configure:27307: checking for rand configure:27307: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27307: $? = 0 configure:27307: result: yes configure:27307: checking for random configure:27307: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27307: $? = 0 configure:27307: result: yes configure:27307: checking for srand configure:27307: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27307: $? = 0 configure:27307: result: yes configure:27307: checking for srandom configure:27307: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27307: $? = 0 configure:27307: result: yes configure:27307: checking for lrand48 configure:27307: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27307: $? = 0 configure:27307: result: yes configure:27307: checking for srand48 configure:27307: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27307: $? = 0 configure:27307: result: yes configure:27321: checking for asprintf configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for closedir configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for fgetc_unlocked configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for flockfile configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for funlockfile configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for getipnodebyname configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc4bLwMD.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `getipnodebyname' collect2: error: ld returned 1 exit status configure:27321: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:27321: result: no configure:27321: checking for gettimeofday configure:27321: result: yes configure:27321: checking for getlogin configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for if_nametoindex configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for mkstemp configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for opendir configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for readdir configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for regcomp configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for setenv configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for setitimer configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for setlocale configure:27321: result: yes configure:27321: checking for setsid configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for snprintf configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:226:6: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 226 | char snprintf (); | ^~~~~~~~ conftest.c:214:1: note: 'snprintf' is declared in header '' 213 | # include 214 | #else configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for strcasestr configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for strdup configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:228:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] 228 | char strdup (); | ^~~~~~ configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for strerror configure:27321: result: yes configure:27321: checking for strncasecmp configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:230:6: warning: conflicting types for built-in function 'strncasecmp'; expected 'int(const char *, const char *, unsigned int)' [-Wbuiltin-declaration-mismatch] 230 | char strncasecmp (); | ^~~~~~~~~~~ configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for sysconf configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for times configure:27321: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27321: $? = 0 configure:27321: result: yes configure:27321: checking for vsnprintf configure:27321: result: yes configure:27331: checking for _NSGetArgv() configure:27344: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:211:10: fatal error: crt_externs.h: No such file or directory 211 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:27344: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:27352: result: no configure:27359: checking for _NSGetExecutablePath() configure:27372: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:211:10: fatal error: mach-o/dyld.h: No such file or directory 211 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:27372: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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:27380: result: no configure:27512: checking for execv configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:234:6: warning: conflicting types for built-in function 'execv'; expected 'int(const char *, char * const*)' [-Wbuiltin-declaration-mismatch] 234 | char execv (); | ^~~~~ configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for fork configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:235:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 235 | char fork (); | ^~~~ configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for signal configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for sigset configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for uname configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for posix_spawn configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for waitpid configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for closesocket configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccO6p7WW.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `closesocket' collect2: error: ld returned 1 exit status configure:27512: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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:27512: result: no configure:27512: checking for gai_strerror configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for getaddrinfo configure:27512: result: yes configure:27512: checking for gethostbyname configure:27512: result: yes configure:27512: checking for gethostbyname2 configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for gethostname configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for gethostbyaddr configure:27512: result: yes configure:27512: checking for inet_ntop configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27512: checking for inet_pton configure:27512: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27512: $? = 0 configure:27512: result: yes configure:27525: checking for _beginthreadex() configure:27541: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:228:10: fatal error: process.h: No such file or directory 228 | #include | ^~~~~~~~~~~ compilation terminated. configure:27541: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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:27548: result: no configure:27554: checking for _cputs() configure:27567: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:226:10: fatal error: conio.h: No such file or directory 226 | #include | ^~~~~~~~~ compilation terminated. configure:27567: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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:27574: result: no configure:27580: checking for _get_osfhandle() configure:27593: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:226:10: fatal error: io.h: No such file or directory 226 | #include | ^~~~~~ compilation terminated. configure:27593: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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:27600: result: no configure:27606: checking for _getch() configure:27619: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:226:10: fatal error: conio.h: No such file or directory 226 | #include | ^~~~~~~~~ compilation terminated. configure:27619: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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:27626: result: no configure:27632: checking for _open_osfhandle() configure:27648: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c:228:10: fatal error: io.h: No such file or directory 228 | #include | ^~~~~~ compilation terminated. configure:27648: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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:27655: result: no configure:27664: checking for getopt configure:27664: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27664: $? = 0 configure:27664: result: yes configure:27677: checking for strlcat configure:27677: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27677: $? = 0 configure:27677: result: yes configure:27690: checking for strlcpy configure:27690: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27690: $? = 0 configure:27690: result: yes configure:27703: checking for strtok_r configure:27703: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27703: $? = 0 configure:27703: result: yes configure:27716: checking for strtol configure:27716: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27716: $? = 0 configure:27716: result: yes configure:27729: checking for strtoul configure:27729: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27729: $? = 0 configure:27729: result: yes configure:27742: checking for strtoull configure:27742: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27742: $? = 0 configure:27742: result: yes configure:27761: checking for cgetnext configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccYAL9Nv.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `cgetnext' collect2: error: ld returned 1 exit status configure:27761: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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:27761: result: no configure:27761: checking for chown configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for endfsent configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccBTk7oc.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `endfsent' collect2: error: ld returned 1 exit status configure:27761: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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 endfsent to an innocuous variant, in case declares endfsent. | For example, HP-UX 11i declares gettimeofday. */ | #define endfsent innocuous_endfsent | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char endfsent (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef endfsent | | /* 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 endfsent (); | /* 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_endfsent || defined __stub___endfsent | choke me | #endif | | int | main () | { | return endfsent (); | ; | return 0; | } configure:27761: result: no configure:27761: checking for forkall configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccFExvmQ.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `forkall' collect2: error: ld returned 1 exit status configure:27761: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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:27761: result: no configure:27761: checking for fsync configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for gai_strerror configure:27761: result: yes configure:27761: checking for getfsent configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc3JuMYK.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `getfsent' collect2: error: ld returned 1 exit status configure:27761: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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 | /* end confdefs.h. */ | /* Define getfsent to an innocuous variant, in case declares getfsent. | For example, HP-UX 11i declares gettimeofday. */ | #define getfsent innocuous_getfsent | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getfsent (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getfsent | | /* 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 getfsent (); | /* 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_getfsent || defined __stub___getfsent | choke me | #endif | | int | main () | { | return getfsent (); | ; | return 0; | } configure:27761: result: no configure:27761: checking for getgrnam configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for gethostname configure:27761: result: yes configure:27761: checking for getloadavg configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for getmntent configure:27761: result: yes configure:27761: checking for getmntinfo configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccpoCnTf.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `getmntinfo' collect2: error: ld returned 1 exit status configure:27761: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define getmntinfo to an innocuous variant, in case declares getmntinfo. | For example, HP-UX 11i declares gettimeofday. */ | #define getmntinfo innocuous_getmntinfo | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getmntinfo (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getmntinfo | | /* 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 getmntinfo (); | /* 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_getmntinfo || defined __stub___getmntinfo | choke me | #endif | | int | main () | { | return getmntinfo (); | ; | return 0; | } configure:27761: result: no configure:27761: checking for getpid configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for getpwnam configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for hasmntopt configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for initgroups configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for if_nameindex configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for if_indextoname configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for if_nametoindex configure:27761: result: yes configure:27761: checking for localtime_r configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for mkstemp configure:27761: result: yes configure:27761: checking for mktime configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for poll configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for regcomp configure:27761: result: yes configure:27761: checking for setfsent configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccivf2VU.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `setfsent' collect2: error: ld returned 1 exit status configure:27761: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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 | /* end confdefs.h. */ | /* Define setfsent to an innocuous variant, in case declares setfsent. | For example, HP-UX 11i declares gettimeofday. */ | #define setfsent innocuous_setfsent | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char setfsent (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef setfsent | | /* 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 setfsent (); | /* 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_setfsent || defined __stub___setfsent | choke me | #endif | | int | main () | { | return setfsent (); | ; | return 0; | } configure:27761: result: no configure:27761: checking for setgid configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for setgroups configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for setmntent configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for setuid configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for sigaction configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for sigblock configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccgybBxG.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `sigblock' collect2: error: ld returned 1 exit status configure:27761: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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:27761: result: no configure:27761: checking for sigprocmask configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for statfs configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for statvfs configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for stime configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for strncasecmp configure:27761: result: yes configure:27761: checking for system configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27761: checking for usleep configure:27761: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27761: $? = 0 configure:27761: result: yes configure:27775: checking for vm_region configure:27775: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccc59bDQ.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `vm_region' collect2: error: ld returned 1 exit status configure:27775: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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 | /* end confdefs.h. */ | /* Define vm_region to an innocuous variant, in case declares vm_region. | For example, HP-UX 11i declares gettimeofday. */ | #define vm_region innocuous_vm_region | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vm_region (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vm_region | | /* 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 vm_region (); | /* 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_vm_region || defined __stub___vm_region | choke me | #endif | | int | main () | { | return vm_region (); | ; | return 0; | } configure:27775: result: no configure:27775: checking for vm_region_64 configure:27775: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccTgKdnt.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `vm_region_64' collect2: error: ld returned 1 exit status configure:27775: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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 | /* end confdefs.h. */ | /* Define vm_region_64 to an innocuous variant, in case declares vm_region_64. | For example, HP-UX 11i declares gettimeofday. */ | #define vm_region_64 innocuous_vm_region_64 | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vm_region_64 (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vm_region_64 | | /* 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 vm_region_64 (); | /* 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_vm_region_64 || defined __stub___vm_region_64 | choke me | #endif | | int | main () | { | return vm_region_64 (); | ; | return 0; | } configure:27775: result: no configure:27789: checking for getdtablesize configure:27789: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27789: $? = 0 configure:27789: result: yes configure:27789: checking for getgrnam configure:27789: result: yes configure:27789: checking for getpid configure:27789: result: yes configure:27789: checking for getpwnam configure:27789: result: yes configure:27789: checking for setgid configure:27789: result: yes configure:27789: checking for setgroups configure:27789: result: yes configure:27789: checking for setuid configure:27789: result: yes configure:27789: checking for tcgetattr configure:27789: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27789: $? = 0 configure:27789: result: yes configure:27803: checking for if_freenameindex configure:27803: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27803: $? = 0 configure:27803: result: yes configure:27803: checking for getpagesize configure:27803: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27803: $? = 0 configure:27803: result: yes configure:27803: checking for lseek64 configure:27803: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27803: $? = 0 configure:27803: result: yes configure:27803: checking for pread64 configure:27803: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27803: $? = 0 configure:27803: result: yes configure:27803: checking for select configure:27803: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27803: $? = 0 configure:27803: result: yes configure:27803: checking for sigalrm configure:27803: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccMc3laB.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `sigalrm' collect2: error: ld returned 1 exit status configure:27803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:27803: result: no configure:27803: checking for socket configure:27803: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:27803: $? = 0 configure:27803: result: yes configure:27840: checking for two-argument statfs with struct fs_data (Ultrix) configure:27880: result: no configure:27896: checking how to get the name of the current function configure:27914: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:27914: $? = 0 configure:27936: result: __func__ configure:27949: checking whether static inline functions are broken (Unixware) configure:27965: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:284:10: warning: 'nested_inline_function' is static but used in inline function 'main_inline_function' which is not static 284 | return nested_inline_function(); | ^~~~~~~~~~~~~~~~~~~~~~ configure:27965: $? = 0 configure:27984: result: no configure:27998: checking for SIOCGIFADDR in sys/ioctl.h configure:28021: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28021: $? = 0 configure:28028: result: yes configure:28152: checking for struct arphd.at_next configure:28152: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:337:21: error: storage size of 'ac_aggr' isn't known 337 | static struct arphd ac_aggr; | ^~~~~~~ configure:28152: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28152: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:337:21: error: storage size of 'ac_aggr' isn't known 337 | static struct arphd ac_aggr; | ^~~~~~~ configure:28152: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28152: result: no configure:28188: checking for struct des_ks_struct.weak_key configure:28188: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:290:29: error: storage size of 'ac_aggr' isn't known 290 | static struct des_ks_struct ac_aggr; | ^~~~~~~ configure:28188: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28188: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:290:29: error: storage size of 'ac_aggr' isn't known 290 | static struct des_ks_struct ac_aggr; | ^~~~~~~ configure:28188: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28188: result: no configure:28209: checking for struct dirent.d_type configure:28209: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28209: $? = 0 configure:28209: result: yes configure:28230: checking for struct ethtool_cmd.speed_hi configure:28230: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28230: $? = 0 configure:28230: result: yes configure:28252: checking for struct ipstat.ips_cantfrag configure:28252: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28252: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28252: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28252: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28252: result: no configure:28271: checking for struct ipstat.ips_delivered configure:28271: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28271: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28271: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28271: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28271: result: no configure:28290: checking for struct ipstat.ips_fragdropped configure:28290: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28290: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28290: result: no configure:28309: checking for struct ipstat.ips_fragmented configure:28309: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28309: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28309: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28309: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28309: result: no configure:28328: checking for struct ipstat.ips_localout configure:28328: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28328: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28328: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28328: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28328: result: no configure:28347: checking for struct ipstat.ips_noproto configure:28347: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28347: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28347: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28347: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28347: result: no configure:28366: checking for struct ipstat.ips_noroute configure:28366: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28366: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28366: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28366: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28366: result: no configure:28385: checking for struct ipstat.ips_odropped configure:28385: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28385: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28385: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28385: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28385: result: no configure:28404: checking for struct ipstat.ips_ofragments configure:28404: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28404: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28404: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28404: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28404: result: no configure:28423: checking for struct ipstat.ips_reassembled configure:28423: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28423: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28423: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28423: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28423: result: no configure:28446: checking for struct ip6stat.ip6s_exthdrtoolong configure:28446: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:23: error: storage size of 'ac_aggr' isn't known 329 | static struct ip6stat ac_aggr; | ^~~~~~~ configure:28446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28446: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:23: error: storage size of 'ac_aggr' isn't known 329 | static struct ip6stat ac_aggr; | ^~~~~~~ configure:28446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28446: result: no configure:28469: checking for struct ipstat.ips_cantforward configure:28469: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28469: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28469: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28469: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28469: result: no configure:28488: checking for struct ipstat.ips_fragtimeout configure:28488: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28488: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28488: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28488: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28488: result: no configure:28512: checking for struct mbstat.m_clusters configure:28512: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct mbstat ac_aggr; | ^~~~~~~ configure:28512: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28512: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct mbstat ac_aggr; | ^~~~~~~ configure:28512: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28512: result: no configure:28531: checking for struct mbstat.m_clfree configure:28531: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct mbstat ac_aggr; | ^~~~~~~ configure:28531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28531: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct mbstat ac_aggr; | ^~~~~~~ configure:28531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28531: result: no configure:28550: checking for struct mbstat.m_mbufs configure:28550: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct mbstat ac_aggr; | ^~~~~~~ configure:28550: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28550: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:22: error: storage size of 'ac_aggr' isn't known 329 | static struct mbstat ac_aggr; | ^~~~~~~ configure:28550: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28550: result: no configure:28573: checking for struct uvmexp.pgswapin configure:28573: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:318:10: fatal error: sys/sysctl.h: No such file or directory 318 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:28573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28573: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c:318:10: fatal error: sys/sysctl.h: No such file or directory 318 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:28573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28573: result: no configure:28592: checking for struct nlist.n_value configure:28592: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:326:21: error: storage size of 'ac_aggr' isn't known 326 | static struct nlist ac_aggr; | ^~~~~~~ configure:28592: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28592: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:326:21: error: storage size of 'ac_aggr' isn't known 326 | static struct nlist ac_aggr; | ^~~~~~~ configure:28592: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28592: result: no configure:28608: checking for struct nlist64.n_value configure:28608: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:326:23: error: storage size of 'ac_aggr' isn't known 326 | static struct nlist64 ac_aggr; | ^~~~~~~ configure:28608: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28608: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:326:23: error: storage size of 'ac_aggr' isn't known 326 | static struct nlist64 ac_aggr; | ^~~~~~~ configure:28608: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28608: result: no configure:28629: checking for struct sigaction.sa_sigaction configure:28629: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:25: error: storage size of 'ac_aggr' isn't known 329 | static struct sigaction ac_aggr; | ^~~~~~~ configure:28629: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28629: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:25: error: storage size of 'ac_aggr' isn't known 329 | static struct sigaction ac_aggr; | ^~~~~~~ configure:28629: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28629: result: no configure:28653: checking for struct sockaddr.sa_len configure:28653: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:335:12: error: 'struct sockaddr' has no member named 'sa_len' 335 | if (ac_aggr.sa_len) | ^ configure:28653: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28653: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:335:19: error: 'struct sockaddr' has no member named 'sa_len' 335 | if (sizeof ac_aggr.sa_len) | ^ configure:28653: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28653: result: no configure:28677: checking for struct sockaddr.sa_union.sa_generic.sa_family2 configure:28677: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:335:12: error: 'struct sockaddr' has no member named 'sa_union' 335 | if (ac_aggr.sa_union.sa_generic.sa_family2) | ^ configure:28677: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28677: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:335:19: error: 'struct sockaddr' has no member named 'sa_union' 335 | if (sizeof ac_aggr.sa_union.sa_generic.sa_family2) | ^ configure:28677: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28677: result: no configure:28701: checking for struct sockaddr_storage.ss_family configure:28701: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28701: $? = 0 configure:28701: result: yes configure:28725: checking for struct sockaddr_storage.__ss_family configure:28725: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:336:13: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? 336 | if (ac_aggr.__ss_family) | ^~~~~~~~~~~ | ss_family configure:28725: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28725: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:336:20: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? 336 | if (sizeof ac_aggr.__ss_family) | ^~~~~~~~~~~ | ss_family configure:28725: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28725: result: no configure:28754: checking for struct sockaddr_in6.sin6_scope_id configure:28754: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28754: $? = 0 configure:28754: result: yes configure:28791: checking size of sockaddr_un.sun_path configure:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28796: $? = 0 configure:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 0)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 1)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 3)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 7)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 15)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 31)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 63)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28796: $? = 0 configure:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 95)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28796: $? = 0 configure:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 103)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:329:12: error: size of array 'test_array' is negative 329 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 107)]; | ^~~~~~~~~~ configure:28796: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28796: $? = 0 configure:28796: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28796: $? = 0 configure:28818: result: 108 configure:28832: checking for struct statfs.f_favail configure:28832: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:339:13: error: 'struct statfs' has no member named 'f_favail'; did you mean 'f_bavail'? 339 | if (ac_aggr.f_favail) | ^~~~~~~~ | f_bavail configure:28832: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28832: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:339:20: error: 'struct statfs' has no member named 'f_favail'; did you mean 'f_bavail'? 339 | if (sizeof ac_aggr.f_favail) | ^~~~~~~~ | f_bavail configure:28832: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:28832: result: no configure:28857: checking for struct statfs.f_ffree configure:28857: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28857: $? = 0 configure:28857: result: yes configure:28882: checking for struct statfs.f_files configure:28882: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28882: $? = 0 configure:28882: result: yes configure:28907: checking for struct statfs.f_flags configure:28907: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28907: $? = 0 configure:28907: result: yes configure:28932: checking for struct statfs.f_frsize configure:28932: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28932: $? = 0 configure:28932: result: yes configure:28962: checking for struct statvfs.f_files configure:28962: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28962: $? = 0 configure:28962: result: yes configure:28981: checking for struct statvfs.f_frsize configure:28981: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:28981: $? = 0 configure:28981: result: yes configure:29000: checking for struct statvfs.mnt_dir configure:29000: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:339:12: error: 'struct statvfs' has no member named 'mnt_dir' 339 | if (ac_aggr.mnt_dir) | ^ configure:29000: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29000: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:339:19: error: 'struct statvfs' has no member named 'mnt_dir' 339 | if (sizeof ac_aggr.mnt_dir) | ^ configure:29000: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29000: result: no configure:29024: checking for struct swdevt.sw_nblksenabled configure:29024: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:338:22: error: storage size of 'ac_aggr' isn't known 338 | static struct swdevt ac_aggr; | ^~~~~~~ configure:29024: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29024: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:338:22: error: storage size of 'ac_aggr' isn't known 338 | static struct swdevt ac_aggr; | ^~~~~~~ configure:29024: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29024: result: no configure:29048: checking for struct tcpstat.tcp_rcvmemdrop configure:29048: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:347:23: error: storage size of 'ac_aggr' isn't known 347 | static struct tcpstat ac_aggr; | ^~~~~~~ configure:29048: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29048: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:347:23: error: storage size of 'ac_aggr' isn't known 347 | static struct tcpstat ac_aggr; | ^~~~~~~ configure:29048: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29048: result: no configure:29081: checking for struct tm.tm_gmtoff configure:29081: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:29081: $? = 0 configure:29081: result: yes configure:29104: checking for struct tm.tm_isdst configure:29104: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:29104: $? = 0 configure:29104: result: yes configure:29129: checking whether daylight is declared configure:29129: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:29129: $? = 0 configure:29129: result: yes configure:29151: checking whether timezone is declared configure:29151: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:29151: $? = 0 configure:29151: result: yes configure:29175: checking whether timezone is a scalar configure:29202: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:29202: $? = 0 configure:29203: result: yes configure:29217: checking for struct timezone.tz_dsttime configure:29217: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:29217: $? = 0 configure:29217: result: yes configure:29248: checking for struct udpstat.udps_discard configure:29248: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29248: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29248: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29248: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29248: result: no configure:29273: checking for struct udpstat.udps_fullsock configure:29273: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29273: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29273: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29273: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29273: result: no configure:29298: checking for struct udpstat.udps_noport configure:29298: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29298: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29298: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29298: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29298: result: no configure:29323: checking for struct udpstat.udps_noportbcast configure:29323: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29323: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29323: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29323: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29323: result: no configure:29348: checking for struct udpstat.udps_ipackets configure:29348: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29348: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29348: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29348: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29348: result: no configure:29373: checking for struct udpstat.udps_opackets configure:29373: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29373: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29373: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:350:23: error: storage size of 'ac_aggr' isn't known 350 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29373: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29373: result: no configure:29408: checking if _KERNEL needs to be defined for if_mtu configure:29439: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:316:14: error: storage size of 'test' isn't known 316 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:29439: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29470: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:317:14: error: storage size of 'test' isn't known 317 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:29470: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29476: result: unknown configure:29487: checking if _KERNEL_STRUCTURES needs to be defined for if_mtu configure:29518: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:316:14: error: storage size of 'test' isn't known 316 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:29518: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29549: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:317:14: error: storage size of 'test' isn't known 317 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:29549: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29555: result: unknown configure:29568: checking for struct ifaddr.ifa_next configure:29568: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:29568: $? = 0 configure:29568: result: yes configure:29613: checking for struct ifnet.if_addrlist configure:29613: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:365:13: error: 'struct ifnet' has no member named 'if_addrlist'; did you mean 'if_addr'? 365 | if (ac_aggr.if_addrlist) | ^~~~~~~~~~~ | if_addr configure:29613: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29613: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:365:20: error: 'struct ifnet' has no member named 'if_addrlist'; did you mean 'if_addr'? 365 | if (sizeof ac_aggr.if_addrlist) | ^~~~~~~~~~~ | if_addr configure:29613: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29613: result: no configure:29683: checking for struct ifnet.if_addrhead.tqh_first configure:29683: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:365:13: error: 'struct ifnet' has no member named 'if_addrhead'; did you mean 'if_addr'? 365 | if (ac_aggr.if_addrhead.tqh_first) | ^~~~~~~~~~~ | if_addr configure:29683: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29683: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:365:20: error: 'struct ifnet' has no member named 'if_addrhead'; did you mean 'if_addr'? 365 | if (sizeof ac_aggr.if_addrhead.tqh_first) | ^~~~~~~~~~~ | if_addr configure:29683: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29683: result: no configure:29753: checking for struct ifnet.if_baudrate configure:29753: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:365:12: error: 'struct ifnet' has no member named 'if_baudrate' 365 | if (ac_aggr.if_baudrate) | ^ configure:29753: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29753: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:365:19: error: 'struct ifnet' has no member named 'if_baudrate' 365 | if (sizeof ac_aggr.if_baudrate) | ^ configure:29753: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29753: result: no configure:29823: checking for struct ifnet.if_baudrate.ifs_value configure:29823: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:365:12: error: 'struct ifnet' has no member named 'if_baudrate' 365 | if (ac_aggr.if_baudrate.ifs_value) | ^ configure:29823: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29823: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:365:19: error: 'struct ifnet' has no member named 'if_baudrate' 365 | if (sizeof ac_aggr.if_baudrate.ifs_value) | ^ configure:29823: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29823: result: no configure:29893: checking for struct ifnet.if_ibytes configure:29893: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:29893: $? = 0 configure:29893: result: yes configure:29963: checking for struct ifnet.if_imcasts configure:29963: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:12: error: 'struct ifnet' has no member named 'if_imcasts' 366 | if (ac_aggr.if_imcasts) | ^ configure:29963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29963: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:19: error: 'struct ifnet' has no member named 'if_imcasts' 366 | if (sizeof ac_aggr.if_imcasts) | ^ configure:29963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:29963: result: no configure:30033: checking for struct ifnet.if_iqdrops configure:30033: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:30033: $? = 0 configure:30033: result: yes configure:30103: checking for struct ifnet.if_lastchange.tv_sec configure:30103: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:367:12: error: 'struct ifnet' has no member named 'if_lastchange' 367 | if (ac_aggr.if_lastchange.tv_sec) | ^ configure:30103: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30103: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:367:19: error: 'struct ifnet' has no member named 'if_lastchange' 367 | if (sizeof ac_aggr.if_lastchange.tv_sec) | ^ configure:30103: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30103: result: no configure:30173: checking for struct ifnet.if_lastchange.tv_nsec configure:30173: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:367:12: error: 'struct ifnet' has no member named 'if_lastchange' 367 | if (ac_aggr.if_lastchange.tv_nsec) | ^ configure:30173: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30173: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:367:19: error: 'struct ifnet' has no member named 'if_lastchange' 367 | if (sizeof ac_aggr.if_lastchange.tv_nsec) | ^ configure:30173: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30173: result: no configure:30243: checking for struct ifnet.if_mtu configure:30243: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:30243: $? = 0 configure:30243: result: yes configure:30313: checking for struct ifnet.if_noproto configure:30313: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: 'struct ifnet' has no member named 'if_noproto' 368 | if (ac_aggr.if_noproto) | ^ configure:30313: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30313: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:368:19: error: 'struct ifnet' has no member named 'if_noproto' 368 | if (sizeof ac_aggr.if_noproto) | ^ configure:30313: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30313: result: no configure:30383: checking for struct ifnet.if_obytes configure:30383: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:30383: $? = 0 configure:30383: result: yes configure:30453: checking for struct ifnet.if_omcasts configure:30453: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:369:12: error: 'struct ifnet' has no member named 'if_omcasts' 369 | if (ac_aggr.if_omcasts) | ^ configure:30453: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30453: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:369:19: error: 'struct ifnet' has no member named 'if_omcasts' 369 | if (sizeof ac_aggr.if_omcasts) | ^ configure:30453: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30453: result: no configure:30523: checking for struct ifnet.if_speed configure:30523: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:30523: $? = 0 configure:30523: result: yes configure:30593: checking for struct ifnet.if_type configure:30593: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:30593: $? = 0 configure:30593: result: yes configure:30663: checking for struct ifnet.if_xname configure:30663: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:371:13: error: 'struct ifnet' has no member named 'if_xname'; did you mean 'if_name'? 371 | if (ac_aggr.if_xname) | ^~~~~~~~ | if_name configure:30663: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30663: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:371:20: error: 'struct ifnet' has no member named 'if_xname'; did you mean 'if_name'? 371 | if (sizeof ac_aggr.if_xname) | ^~~~~~~~ | if_name configure:30663: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30663: result: no configure:30738: checking type of rtentry structure configure:30785: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:334:6: error: 'struct rtentry' has no member named 'rt_nodes'; did you mean 'rt_tos'? 334 | rt.rt_nodes[0].rn_flags = 1; | ^~~~~~~~ | rt_tos configure:30785: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30827: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:3: error: 'struct rtentry' has no member named 'rt_hash' 330 | rt.rt_hash; | ^ configure:30827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:30840: result: unknown configure:30852: checking for struct rtentry configure:30879: result: rtentry configure:30896: checking syslog prioritynames configure:30918: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:30918: $? = 0 configure:30920: result: yes configure:30960: checking for location of system kernel configure:30989: result: unknown configure:31002: checking for location of swap device configure:31016: result: none configure:31033: checking for mount table location configure:31050: result: /etc/mtab configure:31064: checking for lpstat configure:31097: result: no configure:31122: checking for correct flags to ps configure:31151: result: -e configure:31170: checking for SIGHUP configure:31183: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:31183: $? = 0 configure:31190: result: yes configure:31203: WARNING: Can't check sysctl, manually define NETSNMP_CAN_USE_SYSCTL if platform support available configure:31279: checking whether TCP timers depend on 'hz' conftest.c:312:10: fatal error: netinet/tcp_timer.h: No such file or directory 312 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:31300: result: no configure:31444: checking for SO_BINDTODEVICE configure:31462: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:31462: $? = 0 configure:31466: result: yes configure:31478: checking for struct in_pktinfo.ipi_spec_dst configure:31478: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:322:5: error: used struct type value where scalar is required 322 | if (ac_aggr.ipi_spec_dst) | ^~~~~~~ configure:31478: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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:31478: arm-openwrt-linux-muslgnueabi-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny conftest.c >&5 configure:31478: $? = 0 configure:31478: result: yes configure:31497: checking for IP_PKTINFO configure:31550: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 configure:31550: $? = 0 configure:31559: result: yes configure:31570: checking for IP_RECVDSTADDR configure:31622: arm-openwrt-linux-muslgnueabi-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib conftest.c >&5 conftest.c: In function 'main': conftest.c:349:62: error: 'IP_RECVDSTADDR' undeclared (first use in this function); did you mean 'IP_ORIGDSTADDR'? 349 | if (cm->cmsg_level == IPPROTO_IP && cm->cmsg_type == IP_RECVDSTADDR) { | ^~~~~~~~~~~~~~ | IP_ORIGDSTADDR conftest.c:349:62: note: each undeclared identifier is reported only once for each function it appears in conftest.c:351:47: error: incompatible type for argument 1 of 'inet_ntoa' 351 | printf("Address: %s\n", inet_ntoa(src)); | ^~~ | | | struct in_addr * In file included from conftest.c:321: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/arpa/inet.h:18:18: note: expected 'struct in_addr' but argument is of type 'struct in_addr *' 18 | char *inet_ntoa (struct in_addr); | ^~~~~~~~~~~~~~ configure:31622: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #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_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE2_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBNL3 1 | #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 | #define HAVE_WAITPID 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_GETLOADAVG 1 | #define HAVE_GETMNTENT 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_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 | #include /* inet_ntoa() */ | | 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:31631: result: no configure:31887: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by Net-SNMP config.status 5.9.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on anneke config.status:1653: creating Makefile config.status:1653: creating snmplib/Makefile config.status:1653: creating apps/Makefile config.status:1653: creating apps/snmpnetstat/Makefile config.status:1653: creating agent/Makefile config.status:1653: creating agent/helpers/Makefile config.status:1653: creating agent/mibgroup/Makefile config.status:1653: creating local/Makefile config.status:1653: creating testing/Makefile config.status:1653: creating man/Makefile config.status:1653: creating mibs/Makefile config.status:1653: creating net-snmp-config config.status:1653: creating net-snmp-create-v3-user config.status:1653: creating netsnmp.pc config.status:1653: creating netsnmp-agent.pc config.status:1653: creating dist/generation-scripts/gen-variables config.status:1653: creating local/snmpconf config.status:1653: creating include/net-snmp/net-snmp-config.h config.status:1847: executing libtool commands config.status:1847: executing default commands configure:34243: WARNING: unrecognized options: --disable-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_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_gettext_without_libintl=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_littleendian=yes ac_cv_c_long_double=no 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_conv_longlong_to_float=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=arm-openwrt-linux-muslgnueabi-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 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= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set=set ac_cv_env_PKG_CONFIG_LIBDIR_value=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/mnt/gold/openwrt/openwrt_2203/staging_dir/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=arm-openwrt-linux ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=arm-openwrt-linux ac_cv_file__dev_zero=yes ac_cv_func___adjtimex=yes ac_cv_func___va_copy=no ac_cv_func__exit=yes ac_cv_func_alloca_works=yes ac_cv_func_asprintf=yes ac_cv_func_bcmp=yes ac_cv_func_bcopy=yes ac_cv_func_bzero=yes ac_cv_func_cgetnext=no ac_cv_func_chown=yes ac_cv_func_cimag=yes ac_cv_func_closedir=yes ac_cv_func_closesocket=no ac_cv_func_creal=yes ac_cv_func_dlopen=yes ac_cv_func_endfsent=no ac_cv_func_execv=yes ac_cv_func_fchmod=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_getcwd=yes ac_cv_func_getdomainname=yes ac_cv_func_getdtablesize=yes ac_cv_func_getfsent=no 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=yes ac_cv_func_getlogin=yes ac_cv_func_getmntent=yes ac_cv_func_getmntinfo=no ac_cv_func_getopt=yes ac_cv_func_getpagesize=yes ac_cv_func_getpgrp_void=yes ac_cv_func_getpid=yes ac_cv_func_getpwnam=yes ac_cv_func_getpwuid_r=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_index=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_lstat=yes ac_cv_func_lstat_dereferences_slashed_symlink=yes ac_cv_func_lstat_empty_string_bug=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_works=yes ac_cv_func_memcmp_clean=yes ac_cv_func_memcmp_working=yes ac_cv_func_mkstemp=yes ac_cv_func_mktime=yes ac_cv_func_nlist64=no ac_cv_func_nlist=no ac_cv_func_opendir=yes ac_cv_func_poll=yes ac_cv_func_posix_getgrgid_r=yes ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_spawn=yes ac_cv_func_pread64=yes ac_cv_func_psignal=yes ac_cv_func_pthread_key_delete=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_realloc_works=yes ac_cv_func_regcomp=yes ac_cv_func_rename=yes ac_cv_func_rindex=yes ac_cv_func_select=yes ac_cv_func_setenv=yes ac_cv_func_setfsent=no ac_cv_func_setgid=yes ac_cv_func_setgrent_void=yes ac_cv_func_setgroups=yes ac_cv_func_setitimer=yes ac_cv_func_setlocale=yes ac_cv_func_setmntent=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setresuid=no ac_cv_func_setsid=yes ac_cv_func_setuid=yes ac_cv_func_setvbuf_reversed=no ac_cv_func_sigaction=yes ac_cv_func_sigalrm=no ac_cv_func_sigblock=no 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_stat_empty_string_bug=no ac_cv_func_stat_ignores_trailing_slash=no 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_strftime=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_utimes=yes ac_cv_func_va_copy=no ac_cv_func_vm_region=no ac_cv_func_vm_region_64=no ac_cv_func_vsnprintf=yes ac_cv_func_waitpid=yes ac_cv_have_accrights_in_msghdr=no ac_cv_have_broken_snprintf=no ac_cv_have_control_in_msghdr=yes ac_cv_have_decl_daylight=yes ac_cv_have_decl_sys_siglist=no ac_cv_have_decl_timezone=yes ac_cv_have_ip_pktinfo=yes ac_cv_have_ip_recvdstaddr=no ac_cv_have_openpty_ctty_bug=yes ac_cv_have_space_d_name_in_struct_dirent=yes 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_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_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_sctp_h=no ac_cv_header_netinet_sctp_uio_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=no 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_pci_pci_h=yes ac_cv_header_pcre2_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=no ac_cv_header_sgtty_h=no ac_cv_header_spawn_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=no 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=no 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=arm-openwrt-linux-gnu ac_cv_int64_t=yes ac_cv_lbl_unaligned_fail=no ac_cv_lib_kstat_kstat_lookup=no ac_cv_lib_pcap_pcap_create=no ac_cv_lib_socket_in6addr_any=no ac_cv_linux_kernel_pppoe=yes ac_cv_linux_vers=2 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_pack_bitfields_reversed=yes ac_cv_path_AUTOCONF=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoconf ac_cv_path_AUTOHEADER=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoheader ac_cv_path_CCPATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc ac_cv_path_EGREP='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -E' ac_cv_path_FGREP='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -F' ac_cv_path_GREP=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep ac_cv_path_LDCONFIG= ac_cv_path_PERLPROG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/perl ac_cv_path_PSPROG=/bin/ps ac_cv_path_PYTHONPROG=/mnt/gold/openwrt/openwrt_2203/staging_dir/hostpkg/bin/python3 ac_cv_path_SED=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/sed ac_cv_path_UNAMEPROG=/usr/bin/uname ac_cv_path_install='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/install -c' ac_cv_prog_AR=arm-openwrt-linux-muslgnueabi-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=arm-openwrt-linux-muslgnueabi-gcc ac_cv_prog_CPP='arm-openwrt-linux-muslgnueabi-gcc -E' ac_cv_prog_FILE=file ac_cv_prog_FIND=find ac_cv_prog_OBJDUMP=arm-openwrt-linux-muslgnueabi-objdump ac_cv_prog_RANLIB=arm-openwrt-linux-muslgnueabi-gcc-ranlib ac_cv_prog_STRIP=arm-openwrt-linux-muslgnueabi-strip ac_cv_prog_WHOAMI=whoami 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_regexec_segfault_emptystr=no ac_cv_safe_to_define___extensions__=yes ac_cv_sctp=no 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___int64=0 ac_cv_sizeof_char=1 ac_cv_sizeof_int16_t=2 ac_cv_sizeof_int32_t=4 ac_cv_sizeof_int64_t=8 ac_cv_sizeof_int=4 ac_cv_sizeof_intmax_t=8 ac_cv_sizeof_long=4 ac_cv_sizeof_long_int=4 ac_cv_sizeof_long_long=8 ac_cv_sizeof_off_t=8 ac_cv_sizeof_short=2 ac_cv_sizeof_short_int=2 ac_cv_sizeof_size_t=4 ac_cv_sizeof_sockaddr_un_sun_path=108 ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 ac_cv_sizeof_uint16_t=2 ac_cv_sizeof_uint32_t=4 ac_cv_sizeof_uint64_t=8 ac_cv_sizeof_unsigned_int=4 ac_cv_sizeof_unsigned_long=4 ac_cv_sizeof_unsigned_long_long=8 ac_cv_sizeof_unsigned_short=2 ac_cv_sizeof_void_p=4 ac_cv_struct_rtentry=rtentry ac_cv_sys_restartable_syscalls=yes ac_cv_target=arm-openwrt-linux-gnu ac_cv_time_r_type=POSIX 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_suseconds_t=yes ac_cv_type_uintmax_t=yes ac_cv_type_uintptr_t=yes ac_cv_type_unsigned_long_long_int=yes ac_cv_uchar=no ac_cv_uint64_t=yes ac_cv_uint=yes ac_cv_ulong=yes ac_cv_user_prompt_COPY_PERSISTENT_FILES=no ac_cv_user_prompt_NETSNMP_DEFAULT_SNMP_VERSION=1 ac_cv_user_prompt_NETSNMP_LOGFILE=/var/log/snmpd.log ac_cv_user_prompt_NETSNMP_PERSISTENT_DIRECTORY=/usr/lib/snmp/ ac_cv_user_prompt_NETSNMP_SYS_CONTACT=root@localhost ac_cv_user_prompt_NETSNMP_SYS_LOC=Unknown ac_cv_ushort=yes ac_cv_va_copy=C99 ac_cv_va_val_copy=yes ac_cv_working_alloca_h=yes as_cv_unaligned_access=yes fu_cv_sys_stat_fs_data=no 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=arm-openwrt-linux-muslgnueabi-ld lt_cv_path_NM=arm-openwrt-linux-muslgnueabi-gcc-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]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' 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 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=no 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_LIBS=-lnl-tiny netsnmp_cv_func_pci_lookup_name_LMIBLIBS=-lpci netsnmp_cv_func_pcre2_match_8_LAGENTLIBS=-lpcre2-8 netsnmp_cv_sys_ioctl_h_has_SIOCGIFADDR=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AGENTLIBS='' AGENT_INCLUDES='SRC_AGENT_INCLUDES' ALLOCA='' AR='arm-openwrt-linux-muslgnueabi-gcc-ar' AS='arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic' AUTOCONF='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoconf' AUTOHEADER='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoheader' AWK='gawk' CC='arm-openwrt-linux-muslgnueabi-gcc' CCPATH='/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc' CFLAGS='-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Ulinux -Dlinux=linux' CONFIGURE_OPTIONS='" '\''--target=arm-openwrt-linux'\'' '\''--host=arm-openwrt-linux'\'' '\''--build=x86_64-pc-linux-gnu'\'' '\''--program-prefix='\'' '\''--program-suffix='\'' '\''--prefix=/usr'\'' '\''--exec-prefix=/usr'\'' '\''--bindir=/usr/bin'\'' '\''--sbindir=/usr/sbin'\'' '\''--libexecdir=/usr/lib'\'' '\''--sysconfdir=/etc'\'' '\''--datadir=/usr/share'\'' '\''--localstatedir=/var'\'' '\''--mandir=/usr/man'\'' '\''--infodir=/usr/info'\'' '\''--disable-nls'\'' '\''--enable-mfd-rewrites'\'' '\''--enable-shared'\'' '\''--enable-static'\'' '\''--with-endianness=little'\'' '\''--with-logfile=/var/log/snmpd.log'\'' '\''--with-persistent-directory=/usr/lib/snmp/'\'' '\''--with-default-snmp-version=1'\'' '\''--with-sys-contact=root@localhost'\'' '\''--with-sys-location=Unknown'\'' '\''--enable-applications'\'' '\''--disable-debugging'\'' '\''--disable-manuals'\'' '\''--disable-scripts'\'' '\''--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities '\'' '\''--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute '\'' '\''--with-out-transports=TCP TCPIPv6'\'' '\''--with-transports=Callback UDP Unix UDPIPv6'\'' '\''--without-openssl'\'' '\''--without-libwrap'\'' '\''--without-mysql'\'' '\''--without-rpm'\'' '\''--without-zlib'\'' '\''--with-pcre2-8'\'' '\''--with-nl'\'' '\''--enable-ipv6'\'' '\''--disable-perl-cc-checks'\'' '\''--disable-embedded-perl'\'' '\''--without-perl-modules'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=arm-openwrt-linux'\'' '\''target_alias=arm-openwrt-linux'\'' '\''CC=arm-openwrt-linux-muslgnueabi-gcc'\'' '\''CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic '\'' '\''LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib '\'' '\''CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny '\'' '\''PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config'\'' '\''PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'\'' '\''PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'\''"' COPY_PERSISTENT_FILES='no' CPP='arm-openwrt-linux-muslgnueabi-gcc -E' CPPFLAGS=' -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' DEFS='-DHAVE_CONFIG_H' DEVFLAGS='' DLLIBS='' DLLTOOL='false' DPKG_QUERY_PATH='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -E' EMBEDPERLINSTALL='' EMBEDPERLUNINSTALL='' ENV_SEPARATOR=':' EXEEXT='' EXTERNAL_MIBGROUP_INCLUDES='' EXTRACPPFLAGS='-x c' FEATUREHEADERS='' FEATURETARGS='' FEATURE_ADD_FLAGS='' FEATURE_REMOVE_FLAGS='' FGREP='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -F' FILE='file' FIND='find' FTMAINSUBS='apps agent ' GNU_vpath='#vpath' GREP='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep' HAVE_LIBCURSES='FALSE' HELPER_INCLUDES='SRC_HELPER_INCLUDES' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PREFIX='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LAGENTLIBS='-lpcre2-8 ' LD='arm-openwrt-linux-muslgnueabi-ld' LDFLAGS='-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' LD_NO_UNDEFINED='-Wl,-no-undefined' LIBCURSES='' LIBNL3_CFLAGS='' LIBNL3_LIBS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIBTOOLFLAGS='' LIBTOOL_DEPS='./ltmain.sh' LINKCC='arm-openwrt-linux-muslgnueabi-gcc' LIPO='' LMIBLIBS='-lpci -lpcre2-8 -lnl-tiny' LNETSNMPLIBS=' ' LN_S='ln -s' LPSTAT_PATH='' LTLIBOBJS='' MAINSUBS=' agent apps mibs' 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=':NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB' NETSNMP_HAVE_AGENTX_LIBS_FALSE='#' NETSNMP_HAVE_AGENTX_LIBS_TRUE='' NM='arm-openwrt-linux-muslgnueabi-gcc-nm' NMEDIT='' NON_GNU_VPATH='VPATH =' OBJDUMP='arm-openwrt-linux-muslgnueabi-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.1' PACKAGE_TARNAME='net-snmp' PACKAGE_URL='' PACKAGE_VERSION='5.9.1' PARTIALTARGETFLAGS='-Ulinux -Dlinux=linux' PATH_SEPARATOR=':' PERLARGS='' PERLFEATURES='' PERLINSTALLTARGS='' PERLLDOPTS_FOR_APPS='' PERLLDOPTS_FOR_LIBS='' PERLPROG='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/perl' PERLTARGS='' PERLUNINSTALLTARGS='' PERL_SYSTEM_INVOKES_POSIX_SHELL='yes' PERSISTENT_DIRECTORY='/usr/lib/snmp/' PKG_CONFIG='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' PKG_CONFIG_LIBDIR='/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' PKG_CONFIG_PATH='/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' PSCMD='/bin/ps -e' PSPROG='/bin/ps' PYTHONARGS='' PYTHONCLEANTARGS='' PYTHONFEATURES='' PYTHONINSTALLTARGS='' PYTHONPROG='/mnt/gold/openwrt/openwrt_2203/staging_dir/hostpkg/bin/python3' PYTHONTARGS='' PYTHONUNINSTALLTARGS='' RANLIB='arm-openwrt-linux-muslgnueabi-gcc-ranlib' RC='' SED='/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/sed' SET_MAKE='' SHELL='/bin/sh' SNMPCONFPATH='/etc/snmp' SNMPD='snmpd$(EXEEXT)' SNMPLIBPATH='/usr/lib/snmp' SNMPLIB_INCLUDES='SRC_SNMPLIB_INCLUDES' SNMPSHAREPATH='/usr/share/snmp' STRIP='arm-openwrt-linux-muslgnueabi-strip' TOP_INCLUDES='SRC_TOP_INCLUDES' TRAPLIBS='$(TRAPDWITHAGENT)' UCDPERSISTENT_DIRECTORY='/var/ucd-snmp' UNAMEPROG='/usr/bin/uname' USETRAPLIBS='$(USEAGENTLIBS)' VAL_LIBS='' VERSION='5.9.1' WHOAMI='whoami' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' ac_cv_NETSNMP_SYSTEM_INCLUDE_FILE='net-snmp/system/linux.h' bindir='/usr/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='/usr/share' datarootdir='${prefix}/share' default_mibs_install=' NET-SNMP-EXTEND-MIB.txt SNMPv2-MIB.txt IF-MIB.txt IP-MIB.txt TCP-MIB.txt UDP-MIB.txt HOST-RESOURCES-MIB.txt NOTIFICATION-LOG-MIB.txt DISMAN-EVENT-MIB.txt DISMAN-SCHEDULE-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 TUNNEL-MIB.txt IPV6-FLOW-LABEL-MIB.txt UCD-DLMOD-MIB.txt NET-SNMP-PASS-MIB.txt' dllcleans='' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='arm-openwrt-linux-gnu' host_alias='arm-openwrt-linux' host_cpu='arm' host_os='linux-gnu' host_vendor='openwrt' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/info' installucdheaders='' installucdlibs='' krb5_config='' libdir='${exec_prefix}/lib' libexecdir='/usr/lib' localedir='${datarootdir}/locale' localstatedir='/var' mandir='/usr/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='/usr/sbin' security_ftobj_list=' snmpusm.ft' security_hdr_list=' snmpusm.h' security_lobj_list=' snmpusm.lo' security_obj_list=' snmpusm.o' security_src_list=' snmpusm.c snmpusm.c' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='arm-openwrt-linux-gnu' target_alias='arm-openwrt-linux' target_cpu='arm' target_os='linux-gnu' target_vendor='openwrt' transport_ftobj_list=' transports/snmpIPv6BaseDomain.ft transports/snmpSocketBaseDomain.ft transports/snmpIPBaseDomain.ft transports/snmpIPv4BaseDomain.ft transports/snmpUDPBaseDomain.ft transports/snmpUDPIPv4BaseDomain.ft transports/snmpUDPIPv6Domain.ft transports/snmpUnixDomain.ft transports/snmpUDPDomain.ft transports/snmpCallbackDomain.ft transports/snmpAliasDomain.ft ' transport_hdr_list='snmpIPv6BaseDomain.h snmpSocketBaseDomain.h snmpIPBaseDomain.h snmpIPv4BaseDomain.h snmpUDPBaseDomain.h snmpUDPIPv4BaseDomain.h snmpUDPIPv6Domain.h snmpUnixDomain.h snmpUDPDomain.h snmpCallbackDomain.h snmpAliasDomain.h ' transport_lobj_list=' transports/snmpIPv6BaseDomain.lo transports/snmpSocketBaseDomain.lo transports/snmpIPBaseDomain.lo transports/snmpIPv4BaseDomain.lo transports/snmpUDPBaseDomain.lo transports/snmpUDPIPv4BaseDomain.lo transports/snmpUDPIPv6Domain.lo transports/snmpUnixDomain.lo transports/snmpUDPDomain.lo transports/snmpCallbackDomain.lo transports/snmpAliasDomain.lo ' transport_obj_list=' transports/snmpIPv6BaseDomain.o transports/snmpSocketBaseDomain.o transports/snmpIPBaseDomain.o transports/snmpIPv4BaseDomain.o transports/snmpUDPBaseDomain.o transports/snmpUDPIPv4BaseDomain.o transports/snmpUDPIPv6Domain.o transports/snmpUnixDomain.o transports/snmpUDPDomain.o transports/snmpCallbackDomain.o transports/snmpAliasDomain.o ' transport_src_list='transports/snmpIPv6BaseDomain.c transports/snmpSocketBaseDomain.c transports/snmpIPBaseDomain.c transports/snmpIPv4BaseDomain.c transports/snmpUDPBaseDomain.c transports/snmpUDPIPv4BaseDomain.c transports/snmpUDPIPv6Domain.c transports/snmpUnixDomain.c transports/snmpUDPDomain.c transports/snmpCallbackDomain.c transports/snmpAliasDomain.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.1" #define PACKAGE_STRING "Net-SNMP 5.9.1" #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" #define PACKAGE_URL "" #define NETSNMP_CONFIGURE_OPTIONS " '--target=arm-openwrt-linux' '--host=arm-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=little' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-pcre2-8' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CC=arm-openwrt-linux-muslgnueabi-gcc' 'CFLAGS=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/share/pkgconfig'" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 #define NETSNMP_ENABLE_IPV6 1 #define NETSNMP_PERSISTENT_MASK 077 #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" #define NETSNMP_ALWAYS_DEBUG 1 #define NETSNMP_NO_DEBUGGING 1 #define NETSNMP_NO_DUMMY_VALUES 1 #define NETSNMP_NO_SYSTEMD 1 #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" #define NETSNMP_ENABLE_MFD_REWRITES 1 #define NETSNMP_DEFAULT_SNMP_VERSION 1 #define NETSNMP_SYS_CONTACT "root@localhost" #define NETSNMP_SYS_LOC "Unknown" #define NETSNMP_LOGFILE "/var/log/snmpd.log" #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" #define UNAMEPROG "/usr/bin/uname" #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" #define SNMPLIBPATH "/usr/lib/snmp" #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" #define SNMPSHAREPATH "/usr/share/snmp" #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" #define SNMPCONFPATH "/etc/snmp" #define STDC_HEADERS 1 #define HAVE_DIRENT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_GETOPT_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_REGEX_H 1 #define HAVE_STRING_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TIMEB_H 1 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LOCALE_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIMES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_DLFCN_H 1 #define HAVE_ERR_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GRP_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MNTENT_H 1 #define HAVE_PWD_H 1 #define HAVE_SPAWN_H 1 #define HAVE_UTMPX_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_ASM_TYPES_H 1 #define HAVE_LINUX_HDREG_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GRP_H 1 #define HAVE_PWD_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SEARCH_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_PCI_PCI_H 1 #define HAVE_OPENSSL_AES_H 1 #define HAVE_OPENSSL_DH_H 1 #define HAVE_OPENSSL_DES_H 1 #define HAVE_OPENSSL_HMAC_H 1 #define HAVE_OPENSSL_EVP_H 1 #define HAVE_SYS_SWAP_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_SYS_QUEUE_H 1 #define HAVE_SYS_USER_H 1 #define HAVE_LINUX_NETLINK_H 1 #define HAVE_LINUX_RTNETLINK_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_UN_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_STRUCT_RTENTRY_RT_DST 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #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_IPV6BASE_DOMAIN 1 #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 #define NETSNMP_SECMOD_USM 1 #define HAVE_GETMNTENT 1 #define HAVE_DLOPEN 1 #define HAVE_PCRE2_H 1 #define ENV_SEPARATOR ":" #define ENV_SEPARATOR_CHAR ':' #define NETSNMP_DEFAULT_MIBS ":NET-SNMP-EXTEND-MIB:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB" #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETHOSTBYADDR 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_PCI_LOOKUP_NAME 1 #define HAVE_LIBNL3 1 #define NETSNMP_USE_INTERNAL_MD5 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_POSIX_SPAWN 1 #define HAVE_WAITPID 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_GETLOADAVG 1 #define HAVE_GETMNTENT 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_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