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=powerpc-openwrt-linux --host=powerpc-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-mfd-rewrites --enable-shared --enable-static --with-endianness=big --with-logfile=/var/log/snmpd.log --with-persistent-directory=/usr/lib/snmp/ --with-default-snmp-version=1 --with-sys-contact=root@localhost --with-sys-location=Unknown --enable-applications --disable-debugging --disable-manuals --disable-scripts --with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities --with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute --with-out-transports=TCP TCPIPv6 --with-transports=Callback UDP Unix UDPIPv6 --without-openssl --without-libwrap --without-mysql --without-rpm --without-zlib --with-nl --enable-ipv6 --disable-perl-cc-checks --disable-embedded-perl --without-perl-modules ## --------- ## ## Platform. ## ## --------- ## hostname = anneke uname -m = x86_64 uname -r = 5.4.228-gentoo uname -s = Linux uname -v = #1 SMP Sun Jan 22 08:03:20 CET 2023 /usr/bin/uname -p = AMD Ryzen 5 1600 Six-Core Processor /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-powerpc_8540_musl/host/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/hostpkg/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin PATH: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/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: /usr/lib/llvm/15/bin PATH: /var/qmail/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:3224: loading site script /mnt/gold/openwrt/openwrt_2203/include/site/powerpc | #!/bin/sh | . $TOPDIR/include/site/linux | ac_cv_c_littleendian=${ac_cv_c_littleendian=no} | ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} | | 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:3354: checking for powerpc-openwrt-linux-gcc configure:3381: result: powerpc-openwrt-linux-musl-gcc configure:3650: checking for C compiler version configure:3659: powerpc-openwrt-linux-musl-gcc --version >&5 powerpc-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r20058-7370479224) 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:3670: $? = 0 configure:3659: powerpc-openwrt-linux-musl-gcc -v >&5 Reading specs from /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/specs COLLECT_GCC=powerpc-openwrt-linux-musl-gcc COLLECT_LTO_WRAPPER=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/libexec/gcc/powerpc-openwrt-linux-musl/11.2.0/lto-wrapper Target: powerpc-openwrt-linux-musl Configured with: /mnt/gold/openwrt/openwrt_2203/build_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/gcc-11.2.0/configure --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion='OpenWrt GCC 11.2.0 r20058-7370479224' --prefix=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=powerpc-openwrt-linux-musl --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-float=soft --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-headers=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/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 r20058-7370479224) configure:3670: $? = 0 configure:3659: powerpc-openwrt-linux-musl-gcc -V >&5 powerpc-openwrt-linux-musl-gcc: error: unrecognized command-line option '-V' powerpc-openwrt-linux-musl-gcc: fatal error: no input files compilation terminated. configure:3670: $? = 1 configure:3659: powerpc-openwrt-linux-musl-gcc -qversion >&5 powerpc-openwrt-linux-musl-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? powerpc-openwrt-linux-musl-gcc: fatal error: no input files compilation terminated. configure:3670: $? = 1 configure:3690: checking whether the C compiler works configure:3712: powerpc-openwrt-linux-musl-gcc -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:3716: $? = 0 configure:3764: result: yes configure:3767: checking for C compiler default output file name configure:3769: result: a.out configure:3775: checking for suffix of executables configure:3782: powerpc-openwrt-linux-musl-gcc -o conftest -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:3786: $? = 0 configure:3808: result: configure:3830: checking whether we are cross compiling configure:3868: result: yes configure:3873: checking for suffix of object files configure:3895: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:3899: $? = 0 configure:3920: result: o configure:3924: checking whether we are using the GNU C compiler configure:3943: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:3943: $? = 0 configure:3952: result: yes configure:3961: checking whether powerpc-openwrt-linux-musl-gcc accepts -g configure:3981: powerpc-openwrt-linux-musl-gcc -c -g -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:3981: $? = 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3996: powerpc-openwrt-linux-musl-gcc -c -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:3996: $? = 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4012: powerpc-openwrt-linux-musl-gcc -c -g -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4012: $? = 0 configure:4022: result: yes configure:4039: checking for powerpc-openwrt-linux-musl-gcc option to accept ISO C89 configure:4102: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4102: $? = 0 configure:4115: result: none needed configure:4141: checking how to run the C preprocessor configure:4172: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:4172: $? = 0 configure:4186: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:4186: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | /* end confdefs.h. */ | #include configure:4211: result: powerpc-openwrt-linux-musl-gcc -E configure:4231: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:4231: $? = 0 configure:4245: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:4245: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | /* end confdefs.h. */ | #include configure:4274: checking for grep that handles long lines and -e configure:4332: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep configure:4337: checking for egrep configure:4399: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -E configure:4404: checking for ANSI C header files configure:4424: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4424: $? = 0 configure:4508: result: yes configure:4521: checking for sys/types.h configure:4521: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4521: $? = 0 configure:4521: result: yes configure:4521: checking for sys/stat.h configure:4521: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4521: $? = 0 configure:4521: result: yes configure:4521: checking for stdlib.h configure:4521: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4521: $? = 0 configure:4521: result: yes configure:4521: checking for string.h configure:4521: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4521: $? = 0 configure:4521: result: yes configure:4521: checking for memory.h configure:4521: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4521: $? = 0 configure:4521: result: yes configure:4521: checking for strings.h configure:4521: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4521: $? = 0 configure:4521: result: yes configure:4521: checking for inttypes.h configure:4521: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4521: $? = 0 configure:4521: result: yes configure:4521: checking for stdint.h configure:4521: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4521: $? = 0 configure:4521: result: yes configure:4521: checking for unistd.h configure:4521: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4521: $? = 0 configure:4521: result: yes configure:4534: checking minix/config.h usability configure:4534: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:4534: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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:4534: result: no configure:4534: checking minix/config.h presence configure:4534: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:4534: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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:4534: result: no configure:4534: checking for minix/config.h configure:4534: result: no configure:4555: checking whether it is safe to define __EXTENSIONS__ configure:4573: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:4573: $? = 0 configure:4580: result: yes configure:4650: WARNING: --with-endianness is obsolete configure:5055: checking what to build and install configure:5057: result: agent apps mibs configure:5445: result: using default persistent mask 077 configure:5484: result: using default temporary file pattern /tmp/snmpdXXXXXX configure:5915: result: using default AgentX socket /var/agentx/master configure:6267: result: using default "enterprise.net-snmp" configure:6305: result: using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..." configure:6343: result: using default notifications "NET-SNMP-MIB::netSnmpNotifications" configure:6449: result: using OS default send buffer size for server sockets configure:6471: result: using OS default recv buffer size for server sockets configure:6493: result: using OS default send buffer size for client sockets configure:6515: result: using OS default recv buffer size for client sockets configure:6698: checking Default version of SNMP to use configure:6741: result: 1 configure:6769: checking System Contact Information configure:6803: result: root@localhost configure:6822: checking System Location configure:6855: result: Unknown configure:6880: checking Location to write logfile configure:6914: result: /var/log/snmpd.log configure:6941: checking Location to write persistent information configure:6979: result: /usr/lib/snmp/ configure:7057: checking if I need to feed myself to ksh configure:7073: result: no configure:7082: checking for egrep configure:7144: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -E configure:7149: checking for grep that handles long lines and -e configure:7207: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep configure:7255: checking for a BSD-compatible install configure:7323: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/install -c configure:7334: checking whether ln -s works configure:7338: result: yes configure:7345: checking whether make sets $(MAKE) configure:7367: result: yes configure:7376: checking for a sed that does not truncate output configure:7440: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/sed configure:7450: checking for file configure:7466: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/file configure:7477: result: file configure:7501: checking for find configure:7517: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/find configure:7528: result: find configure:7543: checking for whoami configure:7559: found /usr/bin/whoami configure:7570: result: whoami configure:7585: checking for autoconf configure:7603: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoconf configure:7616: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoconf configure:7626: checking for autoheader configure:7644: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoheader configure:7657: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/autoheader configure:7667: checking for perl configure:7685: found /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/perl configure:7697: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/perl configure:7707: checking for ps configure:7725: found /bin/ps configure:7737: result: /bin/ps configure:7747: checking for python3 configure:7765: found /mnt/gold/openwrt/openwrt_2203/staging_dir/hostpkg/bin/python3 configure:7777: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/hostpkg/bin/python3 configure:7788: checking for uname configure:7806: found /usr/bin/uname configure:7818: result: /usr/bin/uname configure:7845: checking whether the Perl function system() invokes a POSIX shell configure:7852: result: yes configure:7875: checking for powerpc-openwrt-linux-gcc configure:7902: result: powerpc-openwrt-linux-musl-gcc configure:8171: checking for C compiler version configure:8180: powerpc-openwrt-linux-musl-gcc --version >&5 powerpc-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r20058-7370479224) 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:8191: $? = 0 configure:8180: powerpc-openwrt-linux-musl-gcc -v >&5 Reading specs from /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/specs COLLECT_GCC=powerpc-openwrt-linux-musl-gcc COLLECT_LTO_WRAPPER=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/libexec/gcc/powerpc-openwrt-linux-musl/11.2.0/lto-wrapper Target: powerpc-openwrt-linux-musl Configured with: /mnt/gold/openwrt/openwrt_2203/build_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/gcc-11.2.0/configure --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion='OpenWrt GCC 11.2.0 r20058-7370479224' --prefix=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=powerpc-openwrt-linux-musl --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-float=soft --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-headers=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/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 r20058-7370479224) configure:8191: $? = 0 configure:8180: powerpc-openwrt-linux-musl-gcc -V >&5 powerpc-openwrt-linux-musl-gcc: error: unrecognized command-line option '-V' powerpc-openwrt-linux-musl-gcc: fatal error: no input files compilation terminated. configure:8191: $? = 1 configure:8180: powerpc-openwrt-linux-musl-gcc -qversion >&5 powerpc-openwrt-linux-musl-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? powerpc-openwrt-linux-musl-gcc: fatal error: no input files compilation terminated. configure:8191: $? = 1 configure:8195: checking whether we are using the GNU C compiler configure:8223: result: yes configure:8232: checking whether powerpc-openwrt-linux-musl-gcc accepts -g configure:8293: result: yes configure:8310: checking for powerpc-openwrt-linux-musl-gcc option to accept ISO C89 configure:8386: result: none needed configure:8411: checking how to run the C preprocessor configure:8481: result: powerpc-openwrt-linux-musl-gcc -E configure:8501: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:8501: $? = 0 configure:8515: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:8515: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #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:8546: checking for an ANSI C-conforming const configure:8612: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:8612: $? = 0 configure:8619: result: yes configure:8627: checking for inline configure:8643: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:8643: $? = 0 configure:8651: result: inline configure:8702: checking build system type configure:8716: result: x86_64-pc-linux-gnu configure:8736: checking host system type configure:8749: result: powerpc-openwrt-linux-gnu configure:8790: checking how to print strings configure:8817: result: printf configure:8838: checking for a sed that does not truncate output configure:8902: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/sed configure:8919: checking for fgrep configure:8981: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/grep -F configure:9016: checking for ld used by powerpc-openwrt-linux-musl-gcc configure:9083: result: powerpc-openwrt-linux-musl-ld configure:9090: checking if the linker (powerpc-openwrt-linux-musl-ld) is GNU ld configure:9105: result: yes configure:9117: checking for BSD- or MS-compatible name lister (nm) configure:9166: result: powerpc-openwrt-linux-musl-gcc-nm configure:9296: checking the name lister (powerpc-openwrt-linux-musl-gcc-nm) interface configure:9303: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:9306: powerpc-openwrt-linux-musl-gcc-nm "conftest.o" configure:9309: output 00000000 B some_variable configure:9316: result: BSD nm configure:9320: checking the maximum length of command line arguments configure:9450: result: 1572864 configure:9467: checking whether the shell understands some XSI constructs configure:9477: result: yes configure:9481: checking whether the shell understands "+=" configure:9487: result: yes configure:9522: checking how to convert x86_64-pc-linux-gnu file names to powerpc-openwrt-linux-gnu format configure:9562: result: func_convert_file_noop configure:9569: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:9589: result: func_convert_file_noop configure:9596: checking for powerpc-openwrt-linux-musl-ld option to reload object files configure:9603: result: -r configure:9637: checking for powerpc-openwrt-linux-objdump configure:9664: result: powerpc-openwrt-linux-musl-objdump configure:9733: checking how to recognize dependent libraries configure:9935: result: pass_all configure:9980: checking for powerpc-openwrt-linux-dlltool configure:10010: result: no configure:10020: checking for dlltool configure:10036: found /usr/lib/llvm/15/bin/dlltool configure:10047: result: dlltool configure:10059: WARNING: using cross tools not prefixed with host triplet configure:10077: checking how to associate runtime and link libraries configure:10104: result: printf %s\n configure:10120: checking for powerpc-openwrt-linux-ar configure:10147: result: powerpc-openwrt-linux-musl-gcc-ar configure:10228: checking for archiver @FILE support configure:10245: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:10245: $? = 0 configure:10248: powerpc-openwrt-linux-musl-gcc-ar cru libconftest.a @conftest.lst >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') configure:10251: $? = 0 configure:10256: powerpc-openwrt-linux-musl-gcc-ar cru libconftest.a @conftest.lst >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ar: conftest.o: No such file or directory configure:10259: $? = 1 configure:10271: result: @ configure:10289: checking for powerpc-openwrt-linux-strip configure:10316: result: powerpc-openwrt-linux-musl-strip configure:10388: checking for powerpc-openwrt-linux-ranlib configure:10415: result: powerpc-openwrt-linux-musl-gcc-ranlib configure:10532: checking for gawk configure:10548: found /usr/bin/gawk configure:10559: result: gawk configure:10598: checking command to parse powerpc-openwrt-linux-musl-gcc-nm output from powerpc-openwrt-linux-musl-gcc object configure:10718: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:10721: $? = 0 configure:10725: powerpc-openwrt-linux-musl-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:10728: $? = 0 configure:10794: powerpc-openwrt-linux-musl-gcc -o conftest -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c conftstm.o >&5 configure:10797: $? = 0 configure:10835: result: ok configure:10872: checking for sysroot configure:10902: result: no configure:10979: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:10982: $? = 0 configure:11118: checking for powerpc-openwrt-linux-mt configure:11148: result: no configure:11158: checking for mt configure:11188: result: no configure:11208: checking if : is a manifest tool configure:11214: : '-?' configure:11222: result: no configure:11861: checking for dlfcn.h configure:11861: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:11861: $? = 0 configure:11861: result: yes configure:12365: checking for objdir configure:12380: result: .libs configure:12650: checking if powerpc-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions configure:12668: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:12672: $? = 0 configure:12685: result: no configure:13012: checking for powerpc-openwrt-linux-musl-gcc option to produce PIC configure:13019: result: -fPIC -DPIC configure:13027: checking if powerpc-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works configure:13045: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -fPIC -DPIC -DPIC conftest.c >&5 configure:13049: $? = 0 configure:13062: result: yes configure:13091: checking if powerpc-openwrt-linux-musl-gcc static flag -static works configure:13119: result: yes configure:13134: checking if powerpc-openwrt-linux-musl-gcc supports -c -o file.o configure:13155: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -o out/conftest2.o conftest.c >&5 configure:13159: $? = 0 configure:13181: result: yes configure:13189: checking if powerpc-openwrt-linux-musl-gcc supports -c -o file.o configure:13236: result: yes configure:13269: checking whether the powerpc-openwrt-linux-musl-gcc linker (powerpc-openwrt-linux-musl-ld) supports shared libraries configure:14422: result: yes configure:14459: checking whether -lc should be explicitly linked in configure:14467: powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:14470: $? = 0 configure:14485: powerpc-openwrt-linux-musl-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:14488: $? = 0 configure:14502: result: no configure:14662: checking dynamic linker characteristics configure:15173: powerpc-openwrt-linux-musl-gcc -o conftest -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -Wl,-rpath -Wl,/foo conftest.c >&5 configure:15173: $? = 0 configure:15395: result: GNU/Linux ld.so configure:15502: checking how to hardcode library paths into programs configure:15527: result: immediate configure:16067: checking whether stripping libraries is possible configure:16072: result: yes configure:16107: checking if libtool supports shared libraries configure:16109: result: yes configure:16112: checking whether to build shared libraries configure:16133: result: yes configure:16136: checking whether to build static libraries configure:16140: result: yes configure:16180: checking for powerpc-openwrt-linux-windres configure:16210: result: no configure:16220: checking for windres configure:16236: found /usr/lib/llvm/15/bin/windres configure:16247: result: windres configure:16463: checking target system type configure:16476: result: powerpc-openwrt-linux-gnu configure:16532: checking whether the linker supports -Wl,-no-undefined configure:16546: powerpc-openwrt-linux-musl-gcc -o conftest -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -Wl,-no-undefined conftest.c >&5 configure:16546: $? = 0 configure:16547: result: yes configure:16578: checking whether to un-define target system token (before redefining) configure:16594: result: yes configure:16609: checking for system include file configure:16632: result: net-snmp/system/linux.h configure:16642: checking for machine-type include file configure:16657: result: net-snmp/machine/generic.h configure:16680: checking for additional cpp flags configure:16697: result: -x c configure:16706: checking for powerpc-openwrt-linux-musl-gcc configure:16724: found /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/bin/powerpc-openwrt-linux-musl-gcc configure:16736: result: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/bin/powerpc-openwrt-linux-musl-gcc configure:16778: checking whether the compiler supports -fno-strict-aliasing configure:16793: powerpc-openwrt-linux-musl-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:16793: $? = 0 configure:16794: result: yes configure:16881: checking for dpkg-query configure:16914: result: no configure:17068: checking for ANSI C header files configure:17172: result: yes configure:17183: checking for dirent.h that defines DIR configure:17202: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17202: $? = 0 configure:17210: result: yes configure:17223: checking for library containing opendir configure:17254: powerpc-openwrt-linux-musl-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:17254: $? = 0 configure:17271: result: none required configure:17344: checking for sys/wait.h that is POSIX.1 compatible configure:17370: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17370: $? = 0 configure:17377: result: yes configure:17397: checking getopt.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking getopt.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking for getopt.h configure:17397: result: yes configure:17397: checking pthread.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking pthread.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking for pthread.h configure:17397: result: yes configure:17397: checking regex.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking regex.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking for regex.h configure:17397: result: yes configure:17397: checking for string.h configure:17397: result: yes configure:17397: checking syslog.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking syslog.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking for syslog.h configure:17397: result: yes configure:17397: checking for unistd.h configure:17397: result: yes configure:17397: checking for stdint.h configure:17397: result: yes configure:17397: checking for inttypes.h configure:17397: result: yes configure:17397: checking process.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17397: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define 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:17397: result: no configure:17397: checking process.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:62:10: fatal error: process.h: No such file or directory 62 | #include | ^~~~~~~~~~~ compilation terminated. configure:17397: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define 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:17397: result: no configure:17397: checking for process.h configure:17397: result: no configure:17397: checking sys/param.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking sys/param.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking for sys/param.h configure:17397: result: yes configure:17397: checking sys/select.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking sys/select.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking for sys/select.h configure:17397: result: yes configure:17397: checking sys/syslog.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking sys/syslog.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking for sys/syslog.h configure:17397: result: yes configure:17397: checking sys/time.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking sys/time.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking for sys/time.h configure:17397: result: yes configure:17397: checking sys/timeb.h usability configure:17397: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking sys/timeb.h presence configure:17397: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17397: $? = 0 configure:17397: result: yes configure:17397: checking for sys/timeb.h configure:17397: result: yes configure:17411: checking for nlist.h configure:17411: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17411: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #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:17411: result: no configure:17433: checking crt_externs.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #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:17433: result: no configure:17433: checking crt_externs.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #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:17433: result: no configure:17433: checking for crt_externs.h configure:17433: result: no configure:17433: checking fcntl.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking fcntl.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking for fcntl.h configure:17433: result: yes configure:17433: checking io.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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:17433: result: no configure:17433: checking io.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:68:10: fatal error: io.h: No such file or directory 68 | #include | ^~~~~~ compilation terminated. configure:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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:17433: result: no configure:17433: checking for io.h configure:17433: result: no configure:17433: checking kstat.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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:17433: result: no configure:17433: checking kstat.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:68:10: fatal error: kstat.h: No such file or directory 68 | #include | ^~~~~~~~~ compilation terminated. configure:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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:17433: result: no configure:17433: checking for kstat.h configure:17433: result: no configure:17433: checking limits.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking limits.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking for limits.h configure:17433: result: yes configure:17433: checking locale.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking locale.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking for locale.h configure:17433: result: yes configure:17433: checking mach-o/dyld.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_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:17433: result: no configure:17433: checking mach-o/dyld.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_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:17433: result: no configure:17433: checking for mach-o/dyld.h configure:17433: result: no configure:17433: checking sys/file.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking sys/file.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking for sys/file.h configure:17433: result: yes configure:17433: checking sys/ioctl.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking sys/ioctl.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking for sys/ioctl.h configure:17433: result: yes configure:17433: checking sys/sockio.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_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:17433: result: no configure:17433: checking sys/sockio.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_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:17433: result: no configure:17433: checking for sys/sockio.h configure:17433: result: no configure:17433: checking for sys/stat.h configure:17433: result: yes configure:17433: checking sys/systemcfg.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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:17433: result: no configure:17433: checking sys/systemcfg.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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:17433: result: no configure:17433: checking for sys/systemcfg.h configure:17433: result: no configure:17433: checking sys/systeminfo.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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:17433: result: no configure:17433: checking sys/systeminfo.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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:17433: result: no configure:17433: checking for sys/systeminfo.h configure:17433: result: no configure:17433: checking sys/times.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking sys/times.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking for sys/times.h configure:17433: result: yes configure:17433: checking sys/uio.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking sys/uio.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking for sys/uio.h configure:17433: result: yes configure:17433: checking sys/utsname.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking sys/utsname.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17433: $? = 0 configure:17433: result: yes configure:17433: checking for sys/utsname.h configure:17433: result: yes configure:17433: checking netipx/ipx.h usability configure:17433: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17433: result: no configure:17433: checking netipx/ipx.h presence configure:17433: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17433: result: no configure:17433: checking for netipx/ipx.h configure:17433: result: no configure:17448: checking for dlfcn.h configure:17448: result: yes configure:17448: checking err.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking err.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking for err.h configure:17448: result: yes configure:17448: checking for fcntl.h configure:17448: result: yes configure:17448: checking fstab.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_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:17448: result: no configure:17448: checking fstab.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:79:10: fatal error: fstab.h: No such file or directory 79 | #include | ^~~~~~~~~ compilation terminated. configure:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_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:17448: result: no configure:17448: checking for fstab.h configure:17448: result: no configure:17448: checking grp.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking grp.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking for grp.h configure:17448: result: yes configure:17448: checking for io.h configure:17448: result: no configure:17448: checking ioctls.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_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:17448: result: no configure:17448: checking ioctls.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:80:10: fatal error: ioctls.h: No such file or directory 80 | #include | ^~~~~~~~~~ compilation terminated. configure:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_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:17448: result: no configure:17448: checking for ioctls.h configure:17448: result: no configure:17448: checking for kstat.h configure:17448: result: no configure:17448: checking kvm.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_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:17448: result: no configure:17448: checking kvm.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:80:10: fatal error: kvm.h: No such file or directory 80 | #include | ^~~~~~~ compilation terminated. configure:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_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:17448: result: no configure:17448: checking for kvm.h configure:17448: result: no configure:17448: checking for limits.h configure:17448: result: yes configure:17448: checking mntent.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking mntent.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking for mntent.h configure:17448: result: yes configure:17448: checking mtab.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define 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:17448: result: no configure:17448: checking mtab.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:82:10: fatal error: mtab.h: No such file or directory 82 | #include | ^~~~~~~~ compilation terminated. configure:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define 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:17448: result: no configure:17448: checking for mtab.h configure:17448: result: no configure:17448: checking pkglocs.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define 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:17448: result: no configure:17448: checking pkglocs.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:82:10: fatal error: pkglocs.h: No such file or directory 82 | #include | ^~~~~~~~~~~ compilation terminated. configure:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define 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:17448: result: no configure:17448: checking for pkglocs.h configure:17448: result: no configure:17448: checking pwd.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking pwd.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking for pwd.h configure:17448: result: yes configure:17448: checking spawn.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking spawn.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking for spawn.h configure:17448: result: yes configure:17448: checking com_err.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define 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:17448: result: no configure:17448: checking com_err.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define 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:17448: result: no configure:17448: checking for com_err.h configure:17448: result: no configure:17448: checking et/com_err.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define 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:17448: result: no configure:17448: checking et/com_err.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define 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:17448: result: no configure:17448: checking for et/com_err.h configure:17448: result: no configure:17448: checking utmpx.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking utmpx.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17448: $? = 0 configure:17448: result: yes configure:17448: checking for utmpx.h configure:17448: result: yes configure:17448: checking utsname.h usability configure:17448: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define 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:17448: result: no configure:17448: checking utsname.h presence configure:17448: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:85:10: fatal error: utsname.h: No such file or directory 85 | #include | ^~~~~~~~~~~ compilation terminated. configure:17448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define 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:17448: result: no configure:17448: checking for utsname.h configure:17448: result: no configure:17462: checking sys/diskio.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define 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:17462: result: no configure:17462: checking sys/diskio.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define 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:17462: result: no configure:17462: checking for sys/diskio.h configure:17462: result: no configure:17462: checking sys/dkio.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define 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:17462: result: no configure:17462: checking sys/dkio.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define 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:17462: result: no configure:17462: checking for sys/dkio.h configure:17462: result: no configure:17462: checking for sys/file.h configure:17462: result: yes configure:17462: checking sys/filio.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_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:17462: result: no configure:17462: checking sys/filio.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_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:17462: result: no configure:17462: checking for sys/filio.h configure:17462: result: no configure:17462: checking sys/fixpoint.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_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:17462: result: no configure:17462: checking sys/fixpoint.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_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:17462: result: no configure:17462: checking for sys/fixpoint.h configure:17462: result: no configure:17462: checking sys/fs.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_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:17462: result: no configure:17462: checking sys/fs.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_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:17462: result: no configure:17462: checking for sys/fs.h configure:17462: result: no configure:17462: checking for sys/ioctl.h configure:17462: result: yes configure:17462: checking sys/loadavg.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking sys/loadavg.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking for sys/loadavg.h configure:17462: result: no configure:17462: checking sys/mntent.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking sys/mntent.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking for sys/mntent.h configure:17462: result: no configure:17462: checking sys/mnttab.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking sys/mnttab.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking for sys/mnttab.h configure:17462: result: no configure:17462: checking sys/pool.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking sys/pool.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking for sys/pool.h configure:17462: result: no configure:17462: checking sys/protosw.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking sys/protosw.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking for sys/protosw.h configure:17462: result: no configure:17462: checking sys/pstat.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking sys/pstat.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:17462: result: no configure:17462: checking for sys/pstat.h configure:17462: result: no configure:17462: checking for sys/sockio.h configure:17462: result: no configure:17462: checking for sys/stat.h configure:17462: result: yes configure:17462: checking sys/statfs.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17462: $? = 0 configure:17462: result: yes configure:17462: checking sys/statfs.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17462: $? = 0 configure:17462: result: yes configure:17462: checking for sys/statfs.h configure:17462: result: yes configure:17462: checking sys/statvfs.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17462: $? = 0 configure:17462: result: yes configure:17462: checking sys/statvfs.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17462: $? = 0 configure:17462: result: yes configure:17462: checking for sys/statvfs.h configure:17462: result: yes configure:17462: checking sys/stream.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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:17462: result: no configure:17462: checking sys/stream.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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:17462: result: no configure:17462: checking for sys/stream.h configure:17462: result: no configure:17462: checking sys/sysget.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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:17462: result: no configure:17462: checking sys/sysget.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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:17462: result: no configure:17462: checking for sys/sysget.h configure:17462: result: no configure:17462: checking sys/sysmacros.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17462: $? = 0 configure:17462: result: yes configure:17462: checking sys/sysmacros.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17462: $? = 0 configure:17462: result: yes configure:17462: checking for sys/sysmacros.h configure:17462: result: yes configure:17462: checking sys/sysmp.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17462: result: no configure:17462: checking sys/sysmp.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17462: result: no configure:17462: checking for sys/sysmp.h configure:17462: result: no configure:17462: checking sys/tcpipstats.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17462: result: no configure:17462: checking sys/tcpipstats.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:17462: result: no configure:17462: checking for sys/tcpipstats.h configure:17462: result: no configure:17462: checking for sys/utsname.h configure:17462: result: yes configure:17462: checking sys/vfs.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17462: $? = 0 configure:17462: result: yes configure:17462: checking sys/vfs.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17462: $? = 0 configure:17462: result: yes configure:17462: checking for sys/vfs.h configure:17462: result: yes configure:17462: checking sys/vm.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking sys/vm.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking for sys/vm.h configure:17462: result: no configure:17462: checking sys/vmmac.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking sys/vmmac.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking for sys/vmmac.h configure:17462: result: no configure:17462: checking sys/vmmeter.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking sys/vmmeter.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking for sys/vmmeter.h configure:17462: result: no configure:17462: checking sys/vmparam.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking sys/vmparam.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking for sys/vmparam.h configure:17462: result: no configure:17462: checking sys/vmsystm.h usability configure:17462: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking sys/vmsystm.h presence configure:17462: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17462: result: no configure:17462: checking for sys/vmsystm.h configure:17462: result: no configure:17476: checking asm/page.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17476: result: no configure:17476: checking asm/page.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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:17476: result: no configure:17476: checking for asm/page.h configure:17476: result: no configure:17476: checking asm/types.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17476: $? = 0 configure:17476: result: yes configure:17476: checking asm/types.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17476: $? = 0 configure:17476: result: yes configure:17476: checking for asm/types.h configure:17476: result: yes configure:17476: checking inet/mib2.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #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:17476: result: no configure:17476: checking inet/mib2.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #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:17476: result: no configure:17476: checking for inet/mib2.h configure:17476: result: no configure:17476: checking linux/hdreg.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17476: $? = 0 configure:17476: result: yes configure:17476: checking linux/hdreg.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17476: $? = 0 configure:17476: result: yes configure:17476: checking for linux/hdreg.h configure:17476: result: yes configure:17476: checking linux/tasks.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking linux/tasks.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking for linux/tasks.h configure:17476: result: no configure:17476: checking machine/param.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking machine/param.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking for machine/param.h configure:17476: result: no configure:17476: checking ufs/fs.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking ufs/fs.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking for ufs/fs.h configure:17476: result: no configure:17476: checking uvm/uvm_extern.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking uvm/uvm_extern.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking for uvm/uvm_extern.h configure:17476: result: no configure:17476: checking uvm/uvm_param.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking uvm/uvm_param.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking for uvm/uvm_param.h configure:17476: result: no configure:17476: checking vm/vm.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking vm/vm.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking for vm/vm.h configure:17476: result: no configure:17476: checking vm/vm_extern.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking vm/vm_extern.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking for vm/vm_extern.h configure:17476: result: no configure:17476: checking vm/vm_param.h usability configure:17476: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking vm/vm_param.h presence configure:17476: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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:17476: result: no configure:17476: checking for vm/vm_param.h configure:17476: result: no configure:17491: checking for fcntl.h configure:17491: result: yes configure:17491: checking for grp.h configure:17491: result: yes configure:17491: checking for pwd.h configure:17491: result: yes configure:17491: checking sys/cdefs.h usability configure:17491: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_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:17491: result: no configure:17491: checking sys/cdefs.h presence configure:17491: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_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:17491: result: no configure:17491: checking for sys/cdefs.h configure:17491: result: no configure:17491: checking for sys/ioctl.h configure:17491: result: yes configure:17491: checking for sys/time.h configure:17491: result: yes configure:17506: checking search.h usability configure:17506: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17506: $? = 0 configure:17506: result: yes configure:17506: checking search.h presence configure:17506: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17506: $? = 0 configure:17506: result: yes configure:17506: checking for search.h configure:17506: result: yes configure:17506: checking sgtty.h usability configure:17506: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_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:17506: result: no configure:17506: checking sgtty.h presence configure:17506: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:101:10: fatal error: sgtty.h: No such file or directory 101 | #include | ^~~~~~~~~ compilation terminated. configure:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_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:17506: result: no configure:17506: checking for sgtty.h configure:17506: result: no configure:17506: checking xti.h usability configure:17506: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_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:17506: result: no configure:17506: checking xti.h presence configure:17506: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:101:10: fatal error: xti.h: No such file or directory 101 | #include | ^~~~~~~ compilation terminated. configure:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_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:17506: result: no configure:17506: checking for xti.h configure:17506: result: no configure:17506: checking sys/dmap.h usability configure:17506: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_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:17506: result: no configure:17506: checking sys/dmap.h presence configure:17506: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_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:17506: result: no configure:17506: checking for sys/dmap.h configure:17506: result: no configure:17506: checking sys/poll.h usability configure:17506: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 In file included from conftest.c:134: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:17506: $? = 0 configure:17506: result: yes configure:17506: checking sys/poll.h presence configure:17506: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c In file included from conftest.c:101: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:17506: $? = 0 configure:17506: result: yes configure:17506: checking for sys/poll.h configure:17506: result: yes configure:17506: checking sys/timeout.h usability configure:17506: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 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:17506: result: no configure:17506: checking sys/timeout.h presence configure:17506: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 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:17506: result: no configure:17506: checking for sys/timeout.h configure:17506: result: no configure:17506: checking machine/pte.h usability configure:17506: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 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:17506: result: no configure:17506: checking machine/pte.h presence configure:17506: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 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:17506: result: no configure:17506: checking for machine/pte.h configure:17506: result: no configure:17506: checking pci/pci.h usability configure:17506: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17506: $? = 0 configure:17506: result: yes configure:17506: checking pci/pci.h presence configure:17506: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17506: $? = 0 configure:17506: result: yes configure:17506: checking for pci/pci.h configure:17506: result: yes configure:17522: checking valgrind/valgrind.h usability configure:17522: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 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:17522: result: no configure:17522: checking valgrind/valgrind.h presence configure:17522: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 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:17522: result: no configure:17522: checking for valgrind/valgrind.h configure:17522: result: no configure:17522: checking valgrind/memcheck.h usability configure:17522: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 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:17522: result: no configure:17522: checking valgrind/memcheck.h presence configure:17522: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 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:17522: result: no configure:17522: checking for valgrind/memcheck.h configure:17522: result: no configure:17536: checking openssl/aes.h usability configure:17536: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17536: $? = 0 configure:17536: result: yes configure:17536: checking openssl/aes.h presence configure:17536: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17536: $? = 0 configure:17536: result: yes configure:17536: checking for openssl/aes.h configure:17536: result: yes configure:17549: checking openssl/dh.h usability configure:17549: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17549: $? = 0 configure:17549: result: yes configure:17549: checking openssl/dh.h presence configure:17549: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17549: $? = 0 configure:17549: result: yes configure:17549: checking for openssl/dh.h configure:17549: result: yes configure:17563: checking openssl/des.h usability configure:17563: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17563: $? = 0 configure:17563: result: yes configure:17563: checking openssl/des.h presence configure:17563: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17563: $? = 0 configure:17563: result: yes configure:17563: checking for openssl/des.h configure:17563: result: yes configure:17563: checking openssl/hmac.h usability configure:17563: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17563: $? = 0 configure:17563: result: yes configure:17563: checking openssl/hmac.h presence configure:17563: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17563: $? = 0 configure:17563: result: yes configure:17563: checking for openssl/hmac.h configure:17563: result: yes configure:17563: checking openssl/evp.h usability configure:17563: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17563: $? = 0 configure:17563: result: yes configure:17563: checking openssl/evp.h presence configure:17563: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17563: $? = 0 configure:17563: result: yes configure:17563: checking for openssl/evp.h configure:17563: result: yes configure:17563: checking security/cryptoki.h usability configure:17563: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17563: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #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:17563: result: no configure:17563: checking security/cryptoki.h presence configure:17563: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17563: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #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:17563: result: no configure:17563: checking for security/cryptoki.h configure:17563: result: no configure:17602: checking for sys/swap.h configure:17602: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17602: $? = 0 configure:17602: result: yes configure:17624: checking for malloc.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17624: $? = 0 configure:17624: result: yes configure:17624: checking for osreldate.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17624: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17624: result: no configure:17624: checking for machine/types.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17624: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17624: result: no configure:17624: checking for sys/dkstat.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17624: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17624: result: no configure:17624: checking for sys/conf.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17624: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17624: result: no configure:17624: checking for sys/mbuf.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17624: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 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:17624: result: no configure:17624: checking for sys/mount.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17624: $? = 0 configure:17624: result: yes configure:17624: checking for sys/proc.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17624: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 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:17624: result: no configure:17624: checking for sys/queue.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17624: $? = 0 configure:17624: result: yes configure:17624: checking for sys/user.h configure:17624: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17624: $? = 0 configure:17624: result: yes configure:17670: checking sys/sema.h usability configure:17670: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17670: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17670: result: no configure:17670: checking sys/sema.h presence configure:17670: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17670: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17670: result: no configure:17670: checking for sys/sema.h configure:17670: result: no configure:17682: checking for sys/hashing.h configure:17682: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17682: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17682: result: no configure:17704: checking for sys/vnode.h configure:17704: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17704: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17704: result: no configure:17726: checking for sys/disklabel.h configure:17726: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17726: result: no configure:17751: checking nbutil.h usability configure:17751: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17751: result: no configure:17751: checking nbutil.h presence configure:17751: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:113:10: fatal error: nbutil.h: No such file or directory 113 | #include | ^~~~~~~~~~ compilation terminated. configure:17751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17751: result: no configure:17751: checking for nbutil.h configure:17751: result: no configure:17768: checking for ufs/ufs/dinode.h configure:17768: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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: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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17768: result: no configure:17768: checking for ufs/ufs/quota.h configure:17768: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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: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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17768: result: no configure:17768: checking for ufs/ufs/inode.h configure:17768: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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: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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17768: result: no configure:17768: checking for ufs/ffs/fs.h configure:17768: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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: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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17768: result: no configure:17795: checking for vm/swap_pager.h configure:17795: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17795: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 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:17795: result: no configure:17817: checking for linux/netlink.h configure:17817: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17817: $? = 0 configure:17817: result: yes configure:17817: checking for linux/rtnetlink.h configure:17817: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17817: $? = 0 configure:17817: result: yes configure:17853: checking for sys/socket.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for sys/un.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/tcp_fsm.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #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:17853: result: no configure:17853: checking for sys/sockio.h configure:17853: result: no configure:17853: checking for sys/socketvar.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #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:17853: result: no configure:17853: checking for net/if_dl.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #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:17853: result: no configure:17853: checking for net/if_types.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #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:17853: result: no configure:17853: checking for arpa/inet.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for net/if.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/in.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netdb.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for net/if_arp.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for net/if_mib.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for net/if_var.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet/if_ether.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/in_systm.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/in_var.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet/ip.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/ip_icmp.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/icmp_var.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet/ip_var.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet/tcp.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/tcp_timer.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet/tcp_var.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet/tcpip.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet/udp.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/udp_var.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for net/route.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/icmp6.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet/in_pcb.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet/ip6.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17853: checking for netinet6/in6_var.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet6/in6_pcb.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet6/ip6_var.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet6/nd6.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet6/tcp6.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet6/tcp6_fsm.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet6/tcp6_timer.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17853: checking for netinet6/tcp6_var.h configure:17853: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17853: result: no configure:17944: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17944: $? = 0 configure:17947: checking linux/ethtool.h usability configure:17947: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:17947: $? = 0 configure:17947: result: yes configure:17947: checking linux/ethtool.h presence configure:17947: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:17947: $? = 0 configure:17947: result: yes configure:17947: checking for linux/ethtool.h configure:17947: result: yes configure:17992: checking pkginfo.h usability configure:17992: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:17992: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17992: result: no configure:17992: checking pkginfo.h presence configure:17992: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:132:10: fatal error: pkginfo.h: No such file or directory 132 | #include | ^~~~~~~~~~~ compilation terminated. configure:17992: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:17992: result: no configure:17992: checking for pkginfo.h configure:17992: result: no configure:18081: checking pkg.h usability configure:18081: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18081: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18081: result: no configure:18081: checking pkg.h presence configure:18081: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:132:10: fatal error: pkg.h: No such file or directory 132 | #include | ^~~~~~~ compilation terminated. configure:18081: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18081: result: no configure:18081: checking for pkg.h configure:18081: result: no configure:18177: checking pkg.h usability configure:18177: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18177: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18177: result: no configure:18177: checking pkg.h presence configure:18177: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18177: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18177: result: no configure:18177: checking for pkg.h configure:18177: result: no configure:18465: checking for windows.h configure:18465: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18465: result: no configure:18465: checking for iphlpapi.h configure:18465: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18465: result: no configure:18483: checking for lm.h configure:18483: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18483: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18483: result: no configure:18525: checking sensors/sensors.h usability configure:18525: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18525: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18525: result: no configure:18525: checking sensors/sensors.h presence configure:18525: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18525: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18525: result: no configure:18525: checking for sensors/sensors.h configure:18525: result: no configure:18525: checking picl.h usability configure:18525: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18525: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18525: result: no configure:18525: checking picl.h presence configure:18525: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c conftest.c:132:10: fatal error: picl.h: No such file or directory 132 | #include | ^~~~~~~~ compilation terminated. configure:18525: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18525: result: no configure:18525: checking for picl.h configure:18525: result: no configure:18546: checking for struct rtentry.rt_dst configure:18546: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18546: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18546: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:18546: $? = 0 configure:18546: result: yes configure:18578: checking for struct rtentry.rt_hash configure:18578: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18578: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18578: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18578: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18578: result: no configure:18610: checking for struct rtentry.rt_next configure:18610: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18610: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18610: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18610: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18610: result: no configure:18642: checking for struct rtentry.rt_refcnt configure:18642: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18642: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18642: result: no configure:18674: checking for struct rtentry.rt_unit configure:18674: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18674: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18674: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18674: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18674: result: no configure:18706: checking for struct rtentry.rt_use configure:18706: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18706: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18706: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18706: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18706: result: no configure:18834: checking size of short configure:18853: result: 2 configure:18867: checking size of int configure:18886: result: 4 configure:18900: checking size of long configure:18919: result: 4 configure:18933: checking size of long long configure:18952: result: 8 configure:18966: checking size of intmax_t configure:18971: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:18971: $? = 0 configure:18971: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18971: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18971: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18971: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18971: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18971: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18971: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18971: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18971: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:18971: $? = 0 configure:18971: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:18971: $? = 0 configure:18971: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:18971: $? = 0 configure:18971: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:18971: $? = 0 configure:18985: result: 8 configure:18996: checking for int8_t configure:18996: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:18996: $? = 0 configure:18996: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:18996: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:18996: result: yes configure:19007: checking for int16_t configure:19007: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19007: $? = 0 configure:19007: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19007: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19007: result: yes configure:19018: checking for int32_t configure:19018: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19018: $? = 0 configure:19018: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19018: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19018: result: yes configure:19029: checking for int64_t configure:19029: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19029: $? = 0 configure:19029: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19029: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19029: result: yes configure:19041: checking for unsigned long long int configure:19080: powerpc-openwrt-linux-musl-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:19080: $? = 0 configure:19089: result: yes configure:19099: checking for long long int configure:19149: result: yes configure:19159: checking for intmax_t configure:19159: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19159: $? = 0 configure:19159: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19159: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19159: result: yes configure:19176: checking for uint8_t configure:19176: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19176: $? = 0 configure:19176: result: yes configure:19190: checking for uint16_t configure:19190: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19190: $? = 0 configure:19190: result: yes configure:19202: checking for uint32_t configure:19202: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19202: $? = 0 configure:19202: result: yes configure:19216: checking for uint64_t configure:19216: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19216: $? = 0 configure:19216: result: yes configure:19232: checking for uintmax_t configure:19232: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19232: $? = 0 configure:19232: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19232: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19232: result: yes configure:19250: checking for intptr_t configure:19250: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19250: $? = 0 configure:19250: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19250: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19250: result: yes configure:19286: checking for uintptr_t configure:19286: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19286: $? = 0 configure:19286: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19286: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19286: result: yes configure:19327: checking for off64_t configure:19327: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19327: $? = 0 configure:19327: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19327: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19327: result: yes configure:19337: checking for nfds_t configure:19337: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 In file included from conftest.c:145: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:19337: $? = 0 configure:19337: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 In file included from conftest.c:145: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/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:19337: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19337: result: yes configure:19352: checking for Counter64 configure:19352: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19352: result: no configure:19363: checking for mib2_ipIfStatsEntry_t configure:19363: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19363: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19363: result: no configure:19382: checking for struct in_ifaddr.ia_subnetmask configure:19382: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19382: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19382: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19382: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19382: result: no configure:19411: 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:19489: result: postponed configure:19491: checking for struct sockaddr_in6.sin6_addr configure:19491: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:19491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:19491: powerpc-openwrt-linux-musl-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:19491: $? = 0 configure:19491: result: yes configure:19514: checking ipv6 stack type configure:19537: result: "generic, yes, using libc" configure:19576: checking for platform-specific source configure:19624: result: configure:19626: result: configure:19658: checking for and configuring transport modules to use configure:19815: result: Alias Callback UDP Unix UDPIPv6 UDPIPv4Base UDPBase IPv4Base IPBase SocketBase IPv6Base. configure:19830: checking for security modules to use configure:19911: result: usm configure:20547: checking rpm/rpmlib.h usability configure:20547: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:20547: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:20547: result: no configure:20547: checking rpm/rpmlib.h presence configure:20547: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:20547: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:20547: result: no configure:20547: checking for rpm/rpmlib.h configure:20547: result: no configure:20547: checking rpm/header.h usability configure:20547: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:20547: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:20547: result: no configure:20547: checking rpm/header.h presence configure:20547: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:20547: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:20547: result: no configure:20547: checking for rpm/header.h configure:20547: result: no configure:20558: checking for rpm/rpmlib.h configure:20558: result: no configure:20566: checking for rpm/header.h configure:20566: result: no configure:20883: checking for library containing getfsstat configure:20914: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccbSgZPZ.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `getfsstat' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `getfsstat' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `getfsstat' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `getfsstat' collect2: error: ld returned 1 exit status configure:20914: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:20914: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lnbutil >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lnbutil collect2: error: ld returned 1 exit status configure:20914: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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: result: no configure:20941: checking for getfsstat configure:20941: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccfZ8epH.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `getfsstat' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `getfsstat' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `getfsstat' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `getfsstat' collect2: error: ld returned 1 exit status configure:20941: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:20941: result: no configure:20952: checking for getvfsstat configure:20952: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cccf9sms.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `getvfsstat' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `getvfsstat' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `getvfsstat' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `getvfsstat' collect2: error: ld returned 1 exit status configure:20952: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:20952: result: no configure:20963: checking for library containing getmntent configure:20994: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:20994: $? = 0 configure:21011: result: none required configure:21029: checking for library containing kinfo_get_cpus configure:21060: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccZDXkBq.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kinfo_get_cpus' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kinfo_get_cpus' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kinfo_get_cpus' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kinfo_get_cpus' collect2: error: ld returned 1 exit status configure:21060: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21060: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lkinfo >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lkinfo collect2: error: ld returned 1 exit status configure:21060: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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: result: no configure:21087: checking for kinfo_get_cpus configure:21087: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccc9JLD4.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kinfo_get_cpus' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kinfo_get_cpus' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kinfo_get_cpus' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kinfo_get_cpus' collect2: error: ld returned 1 exit status configure:21087: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21087: result: no configure:21101: checking for library containing exp configure:21129: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/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:21129: $? = 0 configure:21165: result: none required configure:21180: checking for library containing kvm_read configure:21208: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccsBugGc.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_read' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_read' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_read' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_read' collect2: error: ld returned 1 exit status configure:21208: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21231: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21231: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21244: result: no configure:21255: checking for library containing kvm_openfiles configure:21283: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccVAdVrR.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_openfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_openfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_openfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_openfiles' collect2: error: ld returned 1 exit status configure:21283: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21306: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21306: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21319: result: no configure:21330: checking for library containing kvm_getprocs configure:21358: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccEi3dQr.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getprocs' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getprocs' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getprocs' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getprocs' collect2: error: ld returned 1 exit status configure:21358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21381: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21381: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21394: result: no configure:21405: checking for library containing kvm_getproc2 configure:21433: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc4oXeIt.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getproc2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getproc2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getproc2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getproc2' collect2: error: ld returned 1 exit status configure:21433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21456: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21456: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21469: result: no configure:21480: checking for library containing kvm_getfiles configure:21508: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccMhCTE9.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getfiles' collect2: error: ld returned 1 exit status configure:21508: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21531: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21544: result: no configure:21555: checking for library containing kvm_getfile2 configure:21583: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccbm7VCG.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getfile2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getfile2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getfile2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getfile2' collect2: error: ld returned 1 exit status configure:21583: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21606: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21606: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21619: result: no configure:21630: checking for library containing kvm_getswapinfo configure:21658: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc5lVXb8.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getswapinfo' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getswapinfo' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getswapinfo' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getswapinfo' collect2: error: ld returned 1 exit status configure:21658: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21681: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lkvm >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:21681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21694: result: no configure:21709: checking for kvm_openfiles configure:21709: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccxlXmhY.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_openfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_openfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_openfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_openfiles' collect2: error: ld returned 1 exit status configure:21709: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21709: result: no configure:21709: checking for kvm_getprocs configure:21709: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccgYmDbV.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getprocs' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getprocs' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getprocs' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getprocs' collect2: error: ld returned 1 exit status configure:21709: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21709: result: no configure:21709: checking for kvm_getproc2 configure:21709: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccmH59ob.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getproc2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getproc2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getproc2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getproc2' collect2: error: ld returned 1 exit status configure:21709: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21709: result: no configure:21709: checking for kvm_getswapinfo configure:21709: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccSr4yco.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getswapinfo' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getswapinfo' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getswapinfo' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getswapinfo' collect2: error: ld returned 1 exit status configure:21709: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21709: result: no configure:21709: checking for kvm_getfiles configure:21709: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccuPXdPA.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getfiles' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getfiles' collect2: error: ld returned 1 exit status configure:21709: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21709: result: no configure:21709: checking for kvm_getfile2 configure:21709: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccKEJSVM.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `kvm_getfile2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `kvm_getfile2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `kvm_getfile2' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `kvm_getfile2' collect2: error: ld returned 1 exit status configure:21709: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:21709: result: no configure:21724: checking for library containing dlopen configure:21752: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:21752: $? = 0 configure:21788: result: none required configure:21802: checking for dlopen configure:21802: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:21802: $? = 0 configure:21802: result: yes configure:21817: checking pcre.h usability configure:21817: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:21817: $? = 0 configure:21817: result: yes configure:21817: checking pcre.h presence configure:21817: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:21817: $? = 0 configure:21817: result: yes configure:21817: checking for pcre.h configure:21817: result: yes configure:21844: checking for library containing pcre_exec configure:21872: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc1yjkJh.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `pcre_exec' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `pcre_exec' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `pcre_exec' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `pcre_exec' collect2: error: ld returned 1 exit status configure:21872: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pcre_exec (); | int | main () | { | return pcre_exec (); | ; | return 0; | } configure:21895: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lpcre >&5 configure:21895: $? = 0 configure:21908: result: -lpcre configure:21950: checking for and configuring mib modules to use configure:22020: 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:22839: result: . configure:22857: checking if directories need to be created configure:22862: result: . configure:22868: checking default mib files to read configure:22899: 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:22932: checking whether we have to build PIC code configure:22937: result: yes configure:23203: checking for library containing socket configure:23234: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:23234: $? = 0 configure:23251: result: none required configure:23261: checking for library containing gethostbyname configure:23292: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:23292: $? = 0 configure:23309: result: none required configure:23319: checking for gethostbyname configure:23319: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:23319: $? = 0 configure:23319: result: yes configure:23328: checking for library containing gethostbyaddr configure:23359: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:23359: $? = 0 configure:23376: result: none required configure:23386: checking for gethostbyaddr configure:23386: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:23386: $? = 0 configure:23386: result: yes configure:23419: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -liphlpapi >&5 conftest.c:167:12: fatal error: winsock2.h: No such file or directory 167 | #include | ^~~~~~~~~~~~ compilation terminated. configure:23419: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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:23438: checking for MIB_IF_TABLE2 configure:23458: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:168:12: fatal error: winsock2.h: No such file or directory 168 | #include | ^~~~~~~~~~~~ compilation terminated. configure:23458: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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:23466: result: no configure:23493: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lregex >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lregex collect2: error: ld returned 1 exit status configure:23493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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:23527: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lsnmpapi >&5 conftest.c:167:12: fatal error: snmp.h: No such file or directory 167 | #include | ^~~~~~~~ compilation terminated. configure:23527: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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:23544: checking for kstat_lookup in -lkstat configure:23569: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lkstat >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lkstat collect2: error: ld returned 1 exit status configure:23569: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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:23578: result: no configure:23588: checking for in6addr_any in -lsocket configure:23613: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lsocket >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status configure:23613: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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:23622: result: no configure:23635: checking for library containing clock_gettime configure:23663: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:23663: $? = 0 configure:23699: result: none required configure:23884: checking for library containing pci_lookup_name configure:23912: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lpcre >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccKrXSgZ.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `pci_lookup_name' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `pci_lookup_name' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `pci_lookup_name' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `pci_lookup_name' collect2: error: ld returned 1 exit status configure:23912: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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:23935: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lpci -lpcre >&5 configure:23935: $? = 0 configure:23948: result: -lpci configure:24214: checking pkg-config is at least version 0.9.0 configure:24217: result: yes configure:24226: $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:24229: $? = 1 configure:25334: checking for pcap_create in -lpcap configure:25359: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lpcap >&5 configure:25359: $? = 0 configure:25368: result: yes configure:25374: checking pcap/pcap.h usability configure:25374: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:25374: $? = 0 configure:25374: result: yes configure:25374: checking pcap/pcap.h presence configure:25374: powerpc-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c configure:25374: $? = 0 configure:25374: result: yes configure:25374: checking for pcap/pcap.h configure:25374: result: yes configure:25401: checking for nlist configure:25401: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccdm5aP4.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `nlist' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `nlist' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `nlist' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `nlist' collect2: error: ld returned 1 exit status configure:25401: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 1 | /* end confdefs.h. */ | /* Define nlist to an innocuous variant, in case declares nlist. | For example, HP-UX 11i declares gettimeofday. */ | #define nlist innocuous_nlist | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char nlist (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef nlist | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char nlist (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_nlist || defined __stub___nlist | choke me | #endif | | int | main () | { | return nlist (); | ; | return 0; | } configure:25401: result: no configure:25401: checking for nlist64 configure:25401: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cciTmhrw.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `nlist64' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `nlist64' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `nlist64' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `nlist64' collect2: error: ld returned 1 exit status configure:25401: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 1 | /* end confdefs.h. */ | /* Define nlist64 to an innocuous variant, in case declares nlist64. | For example, HP-UX 11i declares gettimeofday. */ | #define nlist64 innocuous_nlist64 | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char nlist64 (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef nlist64 | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char nlist64 (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_nlist64 || defined __stub___nlist64 | choke me | #endif | | int | main () | { | return nlist64 (); | ; | return 0; | } configure:25401: result: no configure:25401: checking for knlist configure:25401: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccYEERxi.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `knlist' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `knlist' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `knlist' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `knlist' collect2: error: ld returned 1 exit status configure:25401: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 1 | /* end confdefs.h. */ | /* Define knlist to an innocuous variant, in case declares knlist. | For example, HP-UX 11i declares gettimeofday. */ | #define knlist innocuous_knlist | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char knlist (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef knlist | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char knlist (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_knlist || defined __stub___knlist | choke me | #endif | | int | main () | { | return knlist (); | ; | return 0; | } configure:25401: result: no configure:25412: checking for library containing endwin configure:25440: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccqsL1ol.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `endwin' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `endwin' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `endwin' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `endwin' collect2: error: ld returned 1 exit status configure:25440: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char endwin (); | int | main () | { | return endwin (); | ; | return 0; | } configure:25463: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lcurses >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lcurses collect2: error: ld returned 1 exit status configure:25463: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char endwin (); | int | main () | { | return endwin (); | ; | return 0; | } configure:25463: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c -lncurses >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: cannot find -lncurses collect2: error: ld returned 1 exit status configure:25463: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char endwin (); | int | main () | { | return endwin (); | ; | return 0; | } configure:25476: result: no configure:25518: checking for library containing ceil configure:25546: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:177:6: warning: conflicting types for built-in function 'ceil'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 177 | char ceil (); | ^~~~ conftest.c:1:1: note: 'ceil' is declared in header '' 1 | /* confdefs.h */ configure:25546: $? = 0 configure:25582: result: none required configure:26024: checking for potential embedded Perl support configure:26032: result: disabled configure:26050: checking if we can install the Perl modules configure:26075: result: no configure:26106: checking if we should install the python bindings configure:26127: result: no configure:26153: checking for authentication support configure:26237: result: Internal MD5 Support configure:26517: checking for off_t configure:26517: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26517: $? = 0 configure:26517: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:207:20: error: expected expression before ')' token 207 | if (sizeof ((off_t))) | ^ configure:26517: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:26517: result: yes configure:26528: checking for pid_t configure:26528: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26528: $? = 0 configure:26528: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:207:20: error: expected expression before ')' token 207 | if (sizeof ((pid_t))) | ^ configure:26528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:26528: result: yes configure:26539: checking whether time.h and sys/time.h may both be included configure:26559: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26559: $? = 0 configure:26566: result: yes configure:26585: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26585: $? = 0 configure:26608: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26608: $? = 0 configure:26627: checking for socklen_t configure:26627: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26627: $? = 0 configure:26627: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:194:24: error: expected expression before ')' token 194 | if (sizeof ((socklen_t))) | ^ configure:26627: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:26627: result: yes configure:26652: checking for in_addr_t configure:26652: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26652: $? = 0 configure:26652: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:195:24: error: expected expression before ')' token 195 | if (sizeof ((in_addr_t))) | ^ configure:26652: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:26652: result: yes configure:26677: checking for ssize_t configure:26677: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26677: $? = 0 configure:26677: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:196:22: error: expected expression before ')' token 196 | if (sizeof ((ssize_t))) | ^ configure:26677: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:26677: result: yes configure:26717: checking for the type of the fifth argument of select() configure:26742: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26742: $? = 0 configure:26747: result: struct timeval configure:26755: checking for the type of the third argument of ioctlsocket() configure:26780: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:192:8: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] 192 | return ioctlsocket(0, 0, (unsigned int *)NULL) | ^~~~~~~~~~~ cc1: all warnings being treated as errors configure:26780: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:26780: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:192:8: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] 192 | return ioctlsocket(0, 0, (unsigned long *)NULL) | ^~~~~~~~~~~ cc1: all warnings being treated as errors configure:26780: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:26785: result: void configure:26899: checking for size_t configure:26899: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:26899: $? = 0 configure:26899: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:215:21: error: expected expression before ')' token 215 | if (sizeof ((size_t))) | ^ configure:26899: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:26899: result: yes configure:26912: checking for working alloca.h configure:26929: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:26929: $? = 0 configure:26937: result: yes configure:26945: checking for alloca configure:26982: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:26982: $? = 0 configure:26990: result: yes configure:27097: checking whether powerpc-openwrt-linux-musl-gcc needs -traditional conftest.c:181:10: fatal error: sgtty.h: No such file or directory 181 | #include | ^~~~~~~~~ compilation terminated. conftest.c:181:10: fatal error: termio.h: No such file or directory 181 | #include | ^~~~~~~~~~ compilation terminated. configure:27131: result: no configure:27139: checking return type of signal handlers configure:27157: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:187:10: error: void value not ignored as it ought to be 187 | return *(signal (0, 0)) (0) == 1; | ~^~~~~~~~~~~~~~~~~~ configure:27157: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27164: result: void configure:27180: checking for rand configure:27180: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27180: $? = 0 configure:27180: result: yes configure:27180: checking for random configure:27180: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27180: $? = 0 configure:27180: result: yes configure:27180: checking for srand configure:27180: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27180: $? = 0 configure:27180: result: yes configure:27180: checking for srandom configure:27180: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27180: $? = 0 configure:27180: result: yes configure:27180: checking for lrand48 configure:27180: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27180: $? = 0 configure:27180: result: yes configure:27180: checking for srand48 configure:27180: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27180: $? = 0 configure:27180: result: yes configure:27194: checking for asprintf configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for closedir configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for fgetc_unlocked configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for flockfile configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for funlockfile configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for getipnodebyname configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccXsHbAF.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `getipnodebyname' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `getipnodebyname' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `getipnodebyname' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `getipnodebyname' collect2: error: ld returned 1 exit status configure:27194: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27194: result: no configure:27194: checking for gettimeofday configure:27194: result: yes configure:27194: checking for getlogin configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for if_nametoindex configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for mkstemp configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for opendir configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for readdir configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for regcomp configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for setenv configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for setitimer configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for setlocale configure:27194: result: yes configure:27194: checking for setsid configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for snprintf configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:227:6: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 227 | char snprintf (); | ^~~~~~~~ conftest.c:215:1: note: 'snprintf' is declared in header '' 214 | # include 215 | #else configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for strcasestr configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for strdup configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:229:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] 229 | char strdup (); | ^~~~~~ configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for strerror configure:27194: result: yes configure:27194: checking for strncasecmp configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:231:6: warning: conflicting types for built-in function 'strncasecmp'; expected 'int(const char *, const char *, unsigned int)' [-Wbuiltin-declaration-mismatch] 231 | char strncasecmp (); | ^~~~~~~~~~~ configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for sysconf configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for times configure:27194: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27194: $? = 0 configure:27194: result: yes configure:27194: checking for vsnprintf configure:27194: result: yes configure:27204: checking for _NSGetArgv() configure:27217: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:212:10: fatal error: crt_externs.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:27217: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27225: result: no configure:27232: checking for _NSGetExecutablePath() configure:27245: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:212:10: fatal error: mach-o/dyld.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:27245: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27253: result: no configure:27385: checking for execv configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:235:6: warning: conflicting types for built-in function 'execv'; expected 'int(const char *, char * const*)' [-Wbuiltin-declaration-mismatch] 235 | char execv (); | ^~~~~ configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for fork configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:236:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 236 | char fork (); | ^~~~ configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for signal configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for sigset configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for uname configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for posix_spawn configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for waitpid configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for closesocket configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccvzhzdw.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `closesocket' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `closesocket' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `closesocket' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `closesocket' collect2: error: ld returned 1 exit status configure:27385: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27385: result: no configure:27385: checking for gai_strerror configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for getaddrinfo configure:27385: result: yes configure:27385: checking for gethostbyname configure:27385: result: yes configure:27385: checking for gethostbyname2 configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for gethostname configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for gethostbyaddr configure:27385: result: yes configure:27385: checking for inet_ntop configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27385: checking for inet_pton configure:27385: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27385: $? = 0 configure:27385: result: yes configure:27398: checking for _beginthreadex() configure:27414: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:229:10: fatal error: process.h: No such file or directory 229 | #include | ^~~~~~~~~~~ compilation terminated. configure:27414: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27421: result: no configure:27427: checking for _cputs() configure:27440: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:227:10: fatal error: conio.h: No such file or directory 227 | #include | ^~~~~~~~~ compilation terminated. configure:27440: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27447: result: no configure:27453: checking for _get_osfhandle() configure:27466: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:227:10: fatal error: io.h: No such file or directory 227 | #include | ^~~~~~ compilation terminated. configure:27466: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27473: result: no configure:27479: checking for _getch() configure:27492: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:227:10: fatal error: conio.h: No such file or directory 227 | #include | ^~~~~~~~~ compilation terminated. configure:27492: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27499: result: no configure:27505: checking for _open_osfhandle() configure:27521: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c:229:10: fatal error: io.h: No such file or directory 229 | #include | ^~~~~~ compilation terminated. configure:27521: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27528: result: no configure:27537: checking for getopt configure:27537: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27537: $? = 0 configure:27537: result: yes configure:27550: checking for strlcat configure:27550: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27550: $? = 0 configure:27550: result: yes configure:27563: checking for strlcpy configure:27563: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27563: $? = 0 configure:27563: result: yes configure:27576: checking for strtok_r configure:27576: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27576: $? = 0 configure:27576: result: yes configure:27589: checking for strtol configure:27589: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27589: $? = 0 configure:27589: result: yes configure:27602: checking for strtoul configure:27602: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27602: $? = 0 configure:27602: result: yes configure:27615: checking for strtoull configure:27615: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27615: $? = 0 configure:27615: result: yes configure:27634: checking for cgetnext configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccSVdZu1.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `cgetnext' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `cgetnext' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `cgetnext' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `cgetnext' collect2: error: ld returned 1 exit status configure:27634: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27634: result: no configure:27634: checking for chown configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for endfsent configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccbJ0oeV.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `endfsent' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `endfsent' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `endfsent' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `endfsent' collect2: error: ld returned 1 exit status configure:27634: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27634: result: no configure:27634: checking for forkall configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccg5RyW2.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `forkall' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `forkall' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `forkall' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `forkall' collect2: error: ld returned 1 exit status configure:27634: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27634: result: no configure:27634: checking for fsync configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for gai_strerror configure:27634: result: yes configure:27634: checking for getfsent configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc9Xhzc9.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `getfsent' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `getfsent' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `getfsent' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `getfsent' collect2: error: ld returned 1 exit status configure:27634: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27634: result: no configure:27634: checking for getgrnam configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for gethostname configure:27634: result: yes configure:27634: checking for getloadavg configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for getmntent configure:27634: result: yes configure:27634: checking for getmntinfo configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccXp7jj1.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `getmntinfo' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `getmntinfo' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `getmntinfo' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `getmntinfo' collect2: error: ld returned 1 exit status configure:27634: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27634: result: no configure:27634: checking for getpid configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for getpwnam configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for hasmntopt configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for initgroups configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for if_nameindex configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for if_indextoname configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for if_nametoindex configure:27634: result: yes configure:27634: checking for localtime_r configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for mkstemp configure:27634: result: yes configure:27634: checking for mktime configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for poll configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for regcomp configure:27634: result: yes configure:27634: checking for setfsent configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cc7uyWzX.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `setfsent' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `setfsent' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `setfsent' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `setfsent' collect2: error: ld returned 1 exit status configure:27634: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27634: result: no configure:27634: checking for setgid configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for setgroups configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for setmntent configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for setuid configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for sigaction configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for sigblock configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccQ7xDgy.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `sigblock' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `sigblock' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `sigblock' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `sigblock' collect2: error: ld returned 1 exit status configure:27634: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27634: result: no configure:27634: checking for sigprocmask configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for statfs configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for statvfs configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for stime configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for strncasecmp configure:27634: result: yes configure:27634: checking for system configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27634: checking for usleep configure:27634: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27634: $? = 0 configure:27634: result: yes configure:27648: checking for vm_region configure:27648: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccczz2re.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `vm_region' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `vm_region' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `vm_region' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `vm_region' collect2: error: ld returned 1 exit status 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27648: result: no configure:27648: checking for vm_region_64 configure:27648: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccajNsSR.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `vm_region_64' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `vm_region_64' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `vm_region_64' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `vm_region_64' collect2: error: ld returned 1 exit status 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27648: result: no configure:27662: checking for getdtablesize configure:27662: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27662: $? = 0 configure:27662: result: yes configure:27662: checking for getgrnam configure:27662: result: yes configure:27662: checking for getpid configure:27662: result: yes configure:27662: checking for getpwnam configure:27662: result: yes configure:27662: checking for setgid configure:27662: result: yes configure:27662: checking for setgroups configure:27662: result: yes configure:27662: checking for setuid configure:27662: result: yes configure:27662: checking for tcgetattr configure:27662: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27662: $? = 0 configure:27662: result: yes configure:27676: checking for if_freenameindex configure:27676: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27676: $? = 0 configure:27676: result: yes configure:27676: checking for getpagesize configure:27676: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27676: $? = 0 configure:27676: result: yes configure:27676: checking for lseek64 configure:27676: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27676: $? = 0 configure:27676: result: yes configure:27676: checking for pread64 configure:27676: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27676: $? = 0 configure:27676: result: yes configure:27676: checking for select configure:27676: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27676: $? = 0 configure:27676: result: yes configure:27676: checking for sigalrm configure:27676: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cchifglA.o: in function `main': conftest.c:(.text.startup+0x22): undefined reference to `sigalrm' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x26): undefined reference to `sigalrm' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x28): undefined reference to `sigalrm' /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib/gcc/powerpc-openwrt-linux-musl/11.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `sigalrm' collect2: error: ld returned 1 exit status configure:27676: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:27676: result: no configure:27676: checking for socket configure:27676: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:27676: $? = 0 configure:27676: result: yes configure:27713: checking for two-argument statfs with struct fs_data (Ultrix) configure:27753: result: no configure:27769: checking how to get the name of the current function configure:27787: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:27787: $? = 0 configure:27809: result: __func__ configure:27822: checking whether static inline functions are broken (Unixware) configure:27838: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c:285:10: warning: 'nested_inline_function' is static but used in inline function 'main_inline_function' which is not static 285 | return nested_inline_function(); | ^~~~~~~~~~~~~~~~~~~~~~ configure:27838: $? = 0 configure:27857: result: no configure:27871: checking for SIOCGIFADDR in sys/ioctl.h configure:27894: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:27894: $? = 0 configure:27901: result: yes configure:28025: checking for struct arphd.at_next configure:28025: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:338:21: error: storage size of 'ac_aggr' isn't known 338 | static struct arphd ac_aggr; | ^~~~~~~ configure:28025: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28025: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:338:21: error: storage size of 'ac_aggr' isn't known 338 | static struct arphd ac_aggr; | ^~~~~~~ configure:28025: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28025: result: no configure:28061: checking for struct des_ks_struct.weak_key configure:28061: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:291:29: error: storage size of 'ac_aggr' isn't known 291 | static struct des_ks_struct ac_aggr; | ^~~~~~~ configure:28061: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28061: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:291:29: error: storage size of 'ac_aggr' isn't known 291 | static struct des_ks_struct ac_aggr; | ^~~~~~~ configure:28061: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28061: result: no configure:28082: checking for struct dirent.d_type configure:28082: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28082: $? = 0 configure:28082: result: yes configure:28103: checking for struct ethtool_cmd.speed_hi configure:28103: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28103: $? = 0 configure:28103: result: yes configure:28125: checking for struct ipstat.ips_cantfrag configure:28125: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28125: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28125: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28125: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28125: result: no configure:28144: checking for struct ipstat.ips_delivered configure:28144: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28144: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28144: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28144: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28144: result: no configure:28163: checking for struct ipstat.ips_fragdropped configure:28163: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28163: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28163: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28163: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28163: result: no configure:28182: checking for struct ipstat.ips_fragmented configure:28182: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28182: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28182: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28182: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28182: result: no configure:28201: checking for struct ipstat.ips_localout configure:28201: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28201: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28201: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28201: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28201: result: no configure:28220: checking for struct ipstat.ips_noproto configure:28220: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28220: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28220: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28220: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28220: result: no configure:28239: checking for struct ipstat.ips_noroute configure:28239: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28239: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28239: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28239: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28239: result: no configure:28258: checking for struct ipstat.ips_odropped configure:28258: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28258: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28258: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28258: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28258: result: no configure:28277: checking for struct ipstat.ips_ofragments configure:28277: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28277: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28277: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28277: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28277: result: no configure:28296: checking for struct ipstat.ips_reassembled configure:28296: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28296: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28296: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28296: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28296: result: no configure:28319: checking for struct ip6stat.ip6s_exthdrtoolong configure:28319: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:23: error: storage size of 'ac_aggr' isn't known 330 | static struct ip6stat ac_aggr; | ^~~~~~~ configure:28319: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28319: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:23: error: storage size of 'ac_aggr' isn't known 330 | static struct ip6stat ac_aggr; | ^~~~~~~ configure:28319: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28319: result: no configure:28342: checking for struct ipstat.ips_cantforward configure:28342: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28342: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28342: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28342: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28342: result: no configure:28361: checking for struct ipstat.ips_fragtimeout configure:28361: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28361: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28361: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct ipstat ac_aggr; | ^~~~~~~ configure:28361: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28361: result: no configure:28385: checking for struct mbstat.m_clusters configure:28385: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct mbstat 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28385: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct mbstat 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28385: result: no configure:28404: checking for struct mbstat.m_clfree configure:28404: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct mbstat 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28404: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct mbstat 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28404: result: no configure:28423: checking for struct mbstat.m_mbufs configure:28423: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct mbstat 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28423: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:22: error: storage size of 'ac_aggr' isn't known 330 | static struct mbstat 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28423: result: no configure:28446: checking for struct uvmexp.pgswapin configure:28446: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c:319:10: fatal error: sys/sysctl.h: No such file or directory 319 | #include | ^~~~~~~~~~~~~~ compilation terminated. 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28446: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c:319:10: fatal error: sys/sysctl.h: No such file or directory 319 | #include | ^~~~~~~~~~~~~~ compilation terminated. 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28446: result: no configure:28465: checking for struct nlist.n_value configure:28465: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:327:21: error: storage size of 'ac_aggr' isn't known 327 | static struct nlist ac_aggr; | ^~~~~~~ configure:28465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28465: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:327:21: error: storage size of 'ac_aggr' isn't known 327 | static struct nlist ac_aggr; | ^~~~~~~ configure:28465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28465: result: no configure:28481: checking for struct nlist64.n_value configure:28481: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:327:23: error: storage size of 'ac_aggr' isn't known 327 | static struct nlist64 ac_aggr; | ^~~~~~~ configure:28481: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28481: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:327:23: error: storage size of 'ac_aggr' isn't known 327 | static struct nlist64 ac_aggr; | ^~~~~~~ configure:28481: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28481: result: no configure:28502: checking for struct sigaction.sa_sigaction configure:28502: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:25: error: storage size of 'ac_aggr' isn't known 330 | static struct sigaction ac_aggr; | ^~~~~~~ configure:28502: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28502: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:25: error: storage size of 'ac_aggr' isn't known 330 | static struct sigaction ac_aggr; | ^~~~~~~ configure:28502: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28502: result: no configure:28526: checking for struct sockaddr.sa_len configure:28526: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:336:12: error: 'struct sockaddr' has no member named 'sa_len' 336 | if (ac_aggr.sa_len) | ^ configure:28526: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28526: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:336:19: error: 'struct sockaddr' has no member named 'sa_len' 336 | if (sizeof ac_aggr.sa_len) | ^ configure:28526: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28526: result: no configure:28550: checking for struct sockaddr.sa_union.sa_generic.sa_family2 configure:28550: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:336:12: error: 'struct sockaddr' has no member named 'sa_union' 336 | if (ac_aggr.sa_union.sa_generic.sa_family2) | ^ 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28550: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:336:19: error: 'struct sockaddr' has no member named 'sa_union' 336 | if (sizeof ac_aggr.sa_union.sa_generic.sa_family2) | ^ 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28550: result: no configure:28574: checking for struct sockaddr_storage.ss_family configure:28574: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28574: $? = 0 configure:28574: result: yes configure:28598: checking for struct sockaddr_storage.__ss_family configure:28598: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:337:13: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? 337 | if (ac_aggr.__ss_family) | ^~~~~~~~~~~ | ss_family configure:28598: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28598: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:337:20: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? 337 | if (sizeof ac_aggr.__ss_family) | ^~~~~~~~~~~ | ss_family configure:28598: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28598: result: no configure:28627: checking for struct sockaddr_in6.sin6_scope_id configure:28627: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28627: $? = 0 configure:28627: result: yes configure:28664: checking size of sockaddr_un.sun_path configure:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28669: $? = 0 configure:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 0)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 1)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 3)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 7)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 15)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 31)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 63)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28669: $? = 0 configure:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 95)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28669: $? = 0 configure:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 103)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:330:12: error: size of array 'test_array' is negative 330 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 107)]; | ^~~~~~~~~~ configure:28669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28669: $? = 0 configure:28669: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28669: $? = 0 configure:28691: result: 108 configure:28705: checking for struct statfs.f_favail configure:28705: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:340:13: error: 'struct statfs' has no member named 'f_favail'; did you mean 'f_bavail'? 340 | if (ac_aggr.f_favail) | ^~~~~~~~ | f_bavail configure:28705: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28705: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:340:20: error: 'struct statfs' has no member named 'f_favail'; did you mean 'f_bavail'? 340 | if (sizeof ac_aggr.f_favail) | ^~~~~~~~ | f_bavail configure:28705: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28705: result: no configure:28730: checking for struct statfs.f_ffree configure:28730: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28730: $? = 0 configure:28730: result: yes configure:28755: checking for struct statfs.f_files configure:28755: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28755: $? = 0 configure:28755: result: yes configure:28780: checking for struct statfs.f_flags configure:28780: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28780: $? = 0 configure:28780: result: yes configure:28805: checking for struct statfs.f_frsize configure:28805: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28805: $? = 0 configure:28805: result: yes configure:28835: checking for struct statvfs.f_files configure:28835: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28835: $? = 0 configure:28835: result: yes configure:28854: checking for struct statvfs.f_frsize configure:28854: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28854: $? = 0 configure:28854: result: yes configure:28873: checking for struct statvfs.mnt_dir configure:28873: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:340:12: error: 'struct statvfs' has no member named 'mnt_dir' 340 | if (ac_aggr.mnt_dir) | ^ configure:28873: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28873: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:340:19: error: 'struct statvfs' has no member named 'mnt_dir' 340 | if (sizeof ac_aggr.mnt_dir) | ^ configure:28873: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28873: result: no configure:28897: checking for struct swdevt.sw_nblksenabled configure:28897: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:339:22: error: storage size of 'ac_aggr' isn't known 339 | static struct swdevt ac_aggr; | ^~~~~~~ configure:28897: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28897: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:339:22: error: storage size of 'ac_aggr' isn't known 339 | static struct swdevt ac_aggr; | ^~~~~~~ configure:28897: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28897: result: no configure:28921: checking for struct tcpstat.tcp_rcvmemdrop configure:28921: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:348:23: error: storage size of 'ac_aggr' isn't known 348 | static struct tcpstat ac_aggr; | ^~~~~~~ configure:28921: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28921: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:348:23: error: storage size of 'ac_aggr' isn't known 348 | static struct tcpstat ac_aggr; | ^~~~~~~ configure:28921: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:28921: result: no configure:28954: checking for struct tm.tm_gmtoff configure:28954: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28954: $? = 0 configure:28954: result: yes configure:28977: checking for struct tm.tm_isdst configure:28977: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:28977: $? = 0 configure:28977: result: yes configure:29002: checking whether daylight is declared configure:29002: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:29002: $? = 0 configure:29002: result: yes configure:29024: checking whether timezone is declared configure:29024: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:29024: $? = 0 configure:29024: result: yes configure:29048: checking whether timezone is a scalar configure:29075: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:29075: $? = 0 configure:29076: result: yes configure:29090: checking for struct timezone.tz_dsttime configure:29090: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:29090: $? = 0 configure:29090: result: yes configure:29121: checking for struct udpstat.udps_discard configure:29121: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29121: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29121: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29121: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29121: result: no configure:29146: checking for struct udpstat.udps_fullsock configure:29146: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29146: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29146: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29146: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29146: result: no configure:29171: checking for struct udpstat.udps_noport configure:29171: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29171: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29171: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29171: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29171: result: no configure:29196: checking for struct udpstat.udps_noportbcast configure:29196: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29196: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29196: result: no configure:29221: checking for struct udpstat.udps_ipackets configure:29221: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29221: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29221: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29221: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29221: result: no configure:29246: checking for struct udpstat.udps_opackets configure:29246: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29246: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29246: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:351:23: error: storage size of 'ac_aggr' isn't known 351 | static struct udpstat ac_aggr; | ^~~~~~~ configure:29246: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29246: result: no configure:29281: checking if _KERNEL needs to be defined for if_mtu configure:29312: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:29312: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29343: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:318:14: error: storage size of 'test' isn't known 318 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:29343: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29349: result: unknown configure:29360: checking if _KERNEL_STRUCTURES needs to be defined for if_mtu configure:29391: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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:29391: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29422: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:318:14: error: storage size of 'test' isn't known 318 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:29422: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29428: result: unknown configure:29441: checking for struct ifaddr.ifa_next configure:29441: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:29441: $? = 0 configure:29441: result: yes configure:29486: checking for struct ifnet.if_addrlist configure:29486: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:13: error: 'struct ifnet' has no member named 'if_addrlist'; did you mean 'if_addr'? 366 | if (ac_aggr.if_addrlist) | ^~~~~~~~~~~ | if_addr configure:29486: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29486: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:20: error: 'struct ifnet' has no member named 'if_addrlist'; did you mean 'if_addr'? 366 | if (sizeof ac_aggr.if_addrlist) | ^~~~~~~~~~~ | if_addr configure:29486: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29486: result: no configure:29556: checking for struct ifnet.if_addrhead.tqh_first configure:29556: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:13: error: 'struct ifnet' has no member named 'if_addrhead'; did you mean 'if_addr'? 366 | if (ac_aggr.if_addrhead.tqh_first) | ^~~~~~~~~~~ | if_addr configure:29556: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29556: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:20: error: 'struct ifnet' has no member named 'if_addrhead'; did you mean 'if_addr'? 366 | if (sizeof ac_aggr.if_addrhead.tqh_first) | ^~~~~~~~~~~ | if_addr configure:29556: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29556: result: no configure:29626: checking for struct ifnet.if_baudrate configure:29626: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:12: error: 'struct ifnet' has no member named 'if_baudrate' 366 | if (ac_aggr.if_baudrate) | ^ configure:29626: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29626: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:19: error: 'struct ifnet' has no member named 'if_baudrate' 366 | if (sizeof ac_aggr.if_baudrate) | ^ configure:29626: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29626: result: no configure:29696: checking for struct ifnet.if_baudrate.ifs_value configure:29696: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:12: error: 'struct ifnet' has no member named 'if_baudrate' 366 | if (ac_aggr.if_baudrate.ifs_value) | ^ configure:29696: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29696: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:366:19: error: 'struct ifnet' has no member named 'if_baudrate' 366 | if (sizeof ac_aggr.if_baudrate.ifs_value) | ^ configure:29696: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29696: result: no configure:29766: checking for struct ifnet.if_ibytes configure:29766: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:29766: $? = 0 configure:29766: result: yes configure:29836: checking for struct ifnet.if_imcasts configure:29836: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:367:12: error: 'struct ifnet' has no member named 'if_imcasts' 367 | if (ac_aggr.if_imcasts) | ^ configure:29836: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29836: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:367:19: error: 'struct ifnet' has no member named 'if_imcasts' 367 | if (sizeof ac_aggr.if_imcasts) | ^ configure:29836: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29836: result: no configure:29906: checking for struct ifnet.if_iqdrops configure:29906: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:29906: $? = 0 configure:29906: result: yes configure:29976: checking for struct ifnet.if_lastchange.tv_sec configure:29976: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: 'struct ifnet' has no member named 'if_lastchange' 368 | if (ac_aggr.if_lastchange.tv_sec) | ^ configure:29976: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29976: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:368:19: error: 'struct ifnet' has no member named 'if_lastchange' 368 | if (sizeof ac_aggr.if_lastchange.tv_sec) | ^ configure:29976: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:29976: result: no configure:30046: checking for struct ifnet.if_lastchange.tv_nsec configure:30046: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: 'struct ifnet' has no member named 'if_lastchange' 368 | if (ac_aggr.if_lastchange.tv_nsec) | ^ configure:30046: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30046: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:368:19: error: 'struct ifnet' has no member named 'if_lastchange' 368 | if (sizeof ac_aggr.if_lastchange.tv_nsec) | ^ configure:30046: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30046: result: no configure:30116: checking for struct ifnet.if_mtu configure:30116: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:30116: $? = 0 configure:30116: result: yes configure:30186: checking for struct ifnet.if_noproto configure:30186: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:369:12: error: 'struct ifnet' has no member named 'if_noproto' 369 | if (ac_aggr.if_noproto) | ^ configure:30186: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30186: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:369:19: error: 'struct ifnet' has no member named 'if_noproto' 369 | if (sizeof ac_aggr.if_noproto) | ^ configure:30186: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30186: result: no configure:30256: checking for struct ifnet.if_obytes configure:30256: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:30256: $? = 0 configure:30256: result: yes configure:30326: checking for struct ifnet.if_omcasts configure:30326: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:370:12: error: 'struct ifnet' has no member named 'if_omcasts' 370 | if (ac_aggr.if_omcasts) | ^ configure:30326: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30326: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:370:19: error: 'struct ifnet' has no member named 'if_omcasts' 370 | if (sizeof ac_aggr.if_omcasts) | ^ configure:30326: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30326: result: no configure:30396: checking for struct ifnet.if_speed configure:30396: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:30396: $? = 0 configure:30396: result: yes configure:30466: checking for struct ifnet.if_type configure:30466: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:30466: $? = 0 configure:30466: result: yes configure:30536: checking for struct ifnet.if_xname configure:30536: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:372:13: error: 'struct ifnet' has no member named 'if_xname'; did you mean 'if_name'? 372 | if (ac_aggr.if_xname) | ^~~~~~~~ | if_name configure:30536: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30536: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:372:20: error: 'struct ifnet' has no member named 'if_xname'; did you mean 'if_name'? 372 | if (sizeof ac_aggr.if_xname) | ^~~~~~~~ | if_name configure:30536: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30536: result: no configure:30611: checking type of rtentry structure configure:30658: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:335:6: error: 'struct rtentry' has no member named 'rt_nodes'; did you mean 'rt_tos'? 335 | rt.rt_nodes[0].rn_flags = 1; | ^~~~~~~~ | rt_tos configure:30658: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30700: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:331:3: error: 'struct rtentry' has no member named 'rt_hash' 331 | rt.rt_hash; | ^ configure:30700: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:30713: result: unknown configure:30725: checking for struct rtentry configure:30752: result: rtentry configure:30769: checking syslog prioritynames configure:30791: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:30791: $? = 0 configure:30793: result: yes configure:30833: checking for location of system kernel configure:30862: result: unknown configure:30875: checking for location of swap device configure:30889: result: none configure:30906: checking for mount table location configure:30923: result: /etc/mtab configure:30937: checking for lpstat configure:30970: result: no configure:30995: checking for correct flags to ps configure:31024: result: -e configure:31043: checking for SIGHUP configure:31056: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:31056: $? = 0 configure:31063: result: yes configure:31076: WARNING: Can't check sysctl, manually define NETSNMP_CAN_USE_SYSCTL if platform support available configure:31152: checking whether TCP timers depend on 'hz' conftest.c:313:10: fatal error: netinet/tcp_timer.h: No such file or directory 313 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:31173: result: no configure:31317: checking for SO_BINDTODEVICE configure:31335: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:31335: $? = 0 configure:31339: result: yes configure:31351: checking for struct in_pktinfo.ipi_spec_dst configure:31351: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 conftest.c: In function 'main': conftest.c:323:5: error: used struct type value where scalar is required 323 | if (ac_aggr.ipi_spec_dst) | ^~~~~~~ configure:31351: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:31351: powerpc-openwrt-linux-musl-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny conftest.c >&5 configure:31351: $? = 0 configure:31351: result: yes configure:31370: checking for IP_PKTINFO configure:31423: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 configure:31423: $? = 0 configure:31432: result: yes configure:31443: checking for IP_RECVDSTADDR configure:31495: powerpc-openwrt-linux-musl-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -Ulinux -Dlinux=linux -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib conftest.c >&5 conftest.c: In function 'main': conftest.c:350:62: error: 'IP_RECVDSTADDR' undeclared (first use in this function); did you mean 'IP_ORIGDSTADDR'? 350 | if (cm->cmsg_level == IPPROTO_IP && cm->cmsg_type == IP_RECVDSTADDR) { | ^~~~~~~~~~~~~~ | IP_ORIGDSTADDR conftest.c:350:62: note: each undeclared identifier is reported only once for each function it appears in conftest.c:352:47: error: incompatible type for argument 1 of 'inet_ntoa' 352 | printf("Address: %s\n", inet_ntoa(src)); | ^~~ | | | struct in_addr * In file included from conftest.c:322: /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/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:31495: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_LOGFILE "/var/log/snmpd.log" | #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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:31504: result: no configure:31760: 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:1649: creating Makefile config.status:1649: creating snmplib/Makefile config.status:1649: creating apps/Makefile config.status:1649: creating apps/snmpnetstat/Makefile config.status:1649: creating agent/Makefile config.status:1649: creating agent/helpers/Makefile config.status:1649: creating agent/mibgroup/Makefile config.status:1649: creating local/Makefile config.status:1649: creating testing/Makefile config.status:1649: creating man/Makefile config.status:1649: creating mibs/Makefile config.status:1649: creating net-snmp-config config.status:1649: creating net-snmp-create-v3-user config.status:1649: creating netsnmp.pc config.status:1649: creating netsnmp-agent.pc config.status:1649: creating dist/generation-scripts/gen-variables config.status:1649: creating local/snmpconf config.status:1649: creating include/net-snmp/net-snmp-config.h config.status:1843: executing libtool commands config.status:1843: executing default commands configure:34116: 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=yes 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=no 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=powerpc-openwrt-linux-musl-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/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-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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=powerpc-openwrt-linux ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=powerpc-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_pcap_pcap_h=yes ac_cv_header_pci_pci_h=yes ac_cv_header_pcre_h=yes ac_cv_header_picl_h=no ac_cv_header_pkg_h=no ac_cv_header_pkginfo_h=no ac_cv_header_pkglocs_h=no ac_cv_header_process_h=no ac_cv_header_pthread_h=yes ac_cv_header_pwd_h=yes ac_cv_header_regex_h=yes ac_cv_header_rpm_header_h=no ac_cv_header_rpm_rpmlib_h=no ac_cv_header_search_h=yes ac_cv_header_security_cryptoki_h=no ac_cv_header_sensors_sensors_h=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=powerpc-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=yes 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-powerpc_8540_gcc-11.2.0_musl/bin/powerpc-openwrt-linux-musl-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=powerpc-openwrt-linux-musl-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=powerpc-openwrt-linux-musl-gcc ac_cv_prog_CPP='powerpc-openwrt-linux-musl-gcc -E' ac_cv_prog_FILE=file ac_cv_prog_FIND=find ac_cv_prog_OBJDUMP=powerpc-openwrt-linux-musl-objdump ac_cv_prog_RANLIB=powerpc-openwrt-linux-musl-gcc-ranlib ac_cv_prog_STRIP=powerpc-openwrt-linux-musl-strip ac_cv_prog_WHOAMI=whoami ac_cv_prog_ac_ct_DLLTOOL=dlltool ac_cv_prog_ac_ct_RC=windres 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=powerpc-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=powerpc-openwrt-linux-musl-ld lt_cv_path_NM=powerpc-openwrt-linux-musl-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_pcre_exec_LAGENTLIBS=-lpcre netsnmp_cv_sys_ioctl_h_has_SIOCGIFADDR=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AGENTLIBS='' AGENT_INCLUDES='SRC_AGENT_INCLUDES' ALLOCA='' AR='powerpc-openwrt-linux-musl-gcc-ar' AS='powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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='powerpc-openwrt-linux-musl-gcc' CCPATH='/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/bin/powerpc-openwrt-linux-musl-gcc' CFLAGS='-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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 -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.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=powerpc-openwrt-linux'\'' '\''--host=powerpc-openwrt-linux'\'' '\''--build=x86_64-pc-linux-gnu'\'' '\''--program-prefix='\'' '\''--program-suffix='\'' '\''--prefix=/usr'\'' '\''--exec-prefix=/usr'\'' '\''--bindir=/usr/bin'\'' '\''--sbindir=/usr/sbin'\'' '\''--libexecdir=/usr/lib'\'' '\''--sysconfdir=/etc'\'' '\''--datadir=/usr/share'\'' '\''--localstatedir=/var'\'' '\''--mandir=/usr/man'\'' '\''--infodir=/usr/info'\'' '\''--disable-nls'\'' '\''--enable-mfd-rewrites'\'' '\''--enable-shared'\'' '\''--enable-static'\'' '\''--with-endianness=big'\'' '\''--with-logfile=/var/log/snmpd.log'\'' '\''--with-persistent-directory=/usr/lib/snmp/'\'' '\''--with-default-snmp-version=1'\'' '\''--with-sys-contact=root@localhost'\'' '\''--with-sys-location=Unknown'\'' '\''--enable-applications'\'' '\''--disable-debugging'\'' '\''--disable-manuals'\'' '\''--disable-scripts'\'' '\''--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities '\'' '\''--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute '\'' '\''--with-out-transports=TCP TCPIPv6'\'' '\''--with-transports=Callback UDP Unix UDPIPv6'\'' '\''--without-openssl'\'' '\''--without-libwrap'\'' '\''--without-mysql'\'' '\''--without-rpm'\'' '\''--without-zlib'\'' '\''--with-nl'\'' '\''--enable-ipv6'\'' '\''--disable-perl-cc-checks'\'' '\''--disable-embedded-perl'\'' '\''--without-perl-modules'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=powerpc-openwrt-linux'\'' '\''target_alias=powerpc-openwrt-linux'\'' '\''CC=powerpc-openwrt-linux-musl-gcc'\'' '\''CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC '\'' '\''LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib '\'' '\''CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny '\'' '\''PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config'\'' '\''PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'\'' '\''PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'\''"' COPY_PERSISTENT_FILES='no' CPP='powerpc-openwrt-linux-musl-gcc -E' CPPFLAGS=' -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' DEFS='-DHAVE_CONFIG_H' DEVFLAGS='' DLLIBS='' DLLTOOL='dlltool' 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='-lpcre ' LD='powerpc-openwrt-linux-musl-ld' LDFLAGS='-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/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='powerpc-openwrt-linux-musl-gcc' LIPO='' LMIBLIBS='-lpci -lpcre -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='powerpc-openwrt-linux-musl-gcc-nm' NMEDIT='' NON_GNU_VPATH='VPATH =' OBJDUMP='powerpc-openwrt-linux-musl-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-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' PKG_CONFIG_PATH='/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/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='powerpc-openwrt-linux-musl-gcc-ranlib' RC='windres' 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='powerpc-openwrt-linux-musl-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='powerpc-openwrt-linux-gnu' host_alias='powerpc-openwrt-linux' host_cpu='powerpc' 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='powerpc-openwrt-linux-gnu' target_alias='powerpc-openwrt-linux' target_cpu='powerpc' 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=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs disman/event disman/schedule hardware host if-mib ip-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=agent/extend agentx host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable ip-mib/inetNetToMediaTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6' '--with-transports=Callback UDP Unix UDPIPv6' '--without-openssl' '--without-libwrap' '--without-mysql' '--without-rpm' '--without-zlib' '--with-nl' '--enable-ipv6' '--disable-perl-cc-checks' '--disable-embedded-perl' '--without-perl-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=8540 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-powerpc_8540_musl/net-snmp-5.9.1=net-snmp-5.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/lib -znow -zrelro -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/lib ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-powerpc_8540_gcc-11.2.0_musl/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/include/libnl-tiny ' 'PKG_CONFIG=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/lib/pkgconfig:/mnt/gold/openwrt/openwrt_2203/staging_dir/target-powerpc_8540_musl/usr/share/pkgconfig'" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 #define NETSNMP_ENABLE_IPV6 1 #define NETSNMP_PERSISTENT_MASK 077 #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" #define NETSNMP_ALWAYS_DEBUG 1 #define NETSNMP_NO_DEBUGGING 1 #define NETSNMP_NO_DUMMY_VALUES 1 #define NETSNMP_NO_SYSTEMD 1 #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" #define NETSNMP_ENABLE_MFD_REWRITES 1 #define NETSNMP_DEFAULT_SNMP_VERSION 1 #define NETSNMP_SYS_CONTACT "root@localhost" #define NETSNMP_SYS_LOC "Unknown" #define NETSNMP_LOGFILE "/var/log/snmpd.log" #define NETSNMP_PERSISTENT_DIRECTORY "/usr/lib/snmp/" #define UNAMEPROG "/usr/bin/uname" #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" #define SNMPLIBPATH "/usr/lib/snmp" #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" #define SNMPSHAREPATH "/usr/share/snmp" #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" #define SNMPCONFPATH "/etc/snmp" #define STDC_HEADERS 1 #define HAVE_DIRENT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_GETOPT_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_REGEX_H 1 #define HAVE_STRING_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TIMEB_H 1 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LOCALE_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIMES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_DLFCN_H 1 #define HAVE_ERR_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GRP_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MNTENT_H 1 #define HAVE_PWD_H 1 #define HAVE_SPAWN_H 1 #define HAVE_UTMPX_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_ASM_TYPES_H 1 #define HAVE_LINUX_HDREG_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GRP_H 1 #define HAVE_PWD_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SEARCH_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_PCI_PCI_H 1 #define HAVE_OPENSSL_AES_H 1 #define HAVE_OPENSSL_DH_H 1 #define HAVE_OPENSSL_DES_H 1 #define HAVE_OPENSSL_HMAC_H 1 #define HAVE_OPENSSL_EVP_H 1 #define HAVE_SYS_SWAP_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_SYS_QUEUE_H 1 #define HAVE_SYS_USER_H 1 #define HAVE_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_PCRE_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 HAVE_PCAP_PCAP_H 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